Answer the question
In order to leave comments, you need to log in
How do you super-duper compress HTML/CSS code?
Recently, it became very interesting how such code is made:
<li class="iukp14 _eV kno-fb-ctx img-kc-m bili uh_r rg_el" style="width:151px" data-ved="0CHQQ-x0oADAO"><div style="height:151px;width:151px" class="bicc"><a class="bia uh_rl" href="/url?sa=t&rct=j&q=&esrc=s&source=web&cd=15&cad=rja&uact=8&ved=0CHUQ_B0wDg&url=https%3A%2F%2Fplus.google.com%2Fu%2F0%2F116899029375914044550&ei=yIaCVciqL8y9Ufeyg5gH&usg=AFQjCNF0JbMeF9yxqTTcAwzkFgQ8uzIKgA&sig2=_KCQF1dLqRs6Ph4jKHDg7g&bvm=bv.96041959,d.d24" id="4DBV4mzkv25nWM:" role="link" style="height:151px;margin-left:0px;margin-right:0px;margin-top:0px;width:151px" tag="bia" tabindex="0" jsaction="fire.ir_hc" onmousedown="return rwt(this,'','','','15','AFQjCNF0JbMeF9yxqTTcAwzkFgQ8uzIKgA','_KCQF1dLqRs6Ph4jKHDg7g','0CHUQ_B0wDg','','',event)" target="_blank" data-href="https://plus.google.com/u/0/116899029375914044550">
<button value="1" class="_42ft _4jy0 _4jy3 _517h _51sy" type="submit"><i class="_3-8_ img sp_ix95biPEpOf sx_7a0a78"></i>Добавить в друзья</button>
Answer the question
In order to leave comments, you need to log in
There is a GRUNT plugin
compressing-class-names-and-ids-in-html-with-grunt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question