???? ?????/????? ??? HTML
???? ????? HTML ??? ???????? (????? ???????? ??????? ?????????? ?????? ??????) ?? ???? ?????/????? HTML. ???? ???? ?? 20 ?????? ?????? ?????? CSS/JS ??????? ?????? ???????. ??? ???? ???????? ??????? ???? ???????? ??? ??? ????? ?? ?????? ??? ??????.
???? ??? HTML
????? ???????
?? ??????? ?????? ????? HTML?
????? ??? ????? HTML is a technique that reduces file size by removing unnecessary characters from HTML code that don't affect page rendering. Minified HTML files load faster, save bandwidth, and improve user experience and SEO rankings.
????? ??? ????? ????? ?????
???? ????? ????? ??? ????? HTML ???? ????? ??? ????? ??????? ???????:
- ???? ???????? ??????? �� Multiple consecutive spaces collapsed to one, or completely removed
- ????? ?????? �� All line breaks removed, output as single line
- ??????? HTML ��
<!-- ????? ??????? -->completely removed - ?????? ??????? ?? ?????? �� Like
type="text"in<input type="text">which is the default value - ?????? ??????? �� Like
class=""which has no effect - ?????? ???????? ��
disabled="disabled"simplified to???? - ?????? ??????? ?????????? ��
</html>,</body>,</head>? ???. - ???? ????? ?????????? ��
type="text/javascript",type="text/css"
????? ?????
HTML files typically reduce by 20%~40% after minification, depending on how formatted the original code was. Code with many comments and deep indentation achieves higher compression rates.
????? ????????? ???????
- ??? ??????? �� Minify HTML before deployment to improve page load speed
- ????? ?????? ??????? �� Reduce server traffic and lower CDN costs
- ????? ?????? ????? (SEO) �� Page load speed is one of Google's ranking factors
- ????? ?????? ?????????? �� Minify HTML emails to avoid truncation
- ????????? ??????? �� Reduce HTML size in constrained environments
??? ??????? ??????? ??????
- ????? ??? �� Remove comments, whitespace, line breaks without modifying attributes and tag structure. Most safe.
- ????? ????? �� Enable all compression options including removing quotes, empty elements, etc. Smallest file size.
- ????? �� Only remove comments and extra whitespace, keep line breaks and attribute format.
??????? ??????? (FAQ)
?? ???? ????? ??? ??? HTML ??? ????? ???????
??. ?? ???? ????? ????? ??? ????? HTML ??? ??? ????? ?????? ???? ?? ???? ??? ????? (???????? ???????? ?????? ??????? ??????????). ??? ?? ?????? ???? ???????? ?? ??? ??????. ????? ????? ??????? ?????? ??? ????? ??????. ??? ???? ???? ???????? ??? ???????? ?????? ????? ???????? ??????? ??? ????? ?????? ???????? ?? ??????.
?? ???? ??????? HTML ??????????
???? ??? ?? ??. ???????? ???? ????????/???????? ?? ??? ??????? ????? ????? ????? ???????? ??????? ?????? ?????? ??? ??? HTML ????????? ?????? ?? ??? ???? ???????? ????? ???????. ??? ???? ?? ???? ??????? ????????? ????????? ??? ??? ??????? ?????? ??????? (??? ?????? ????????) ?????????.
?? ??? ????? ???????? ??? ???????
??. ??? ???? ?????? ???????? ??????? ?? ??????. ??? ??? ????? ??? HTML ????? ?? ??? ?? ????? ??? ???? ??? ???????? ?????????.
?? ?? ??????? HTML ?????????
???? HTML5 ?HTML4 ?XHTML ????? ?????????. ???? ?????? ???????? ????? ???????? HTML5? ??? ???? ??????? ?? ????? HTML ??????. ??????? ?????? SVG? ???? ?????? ???? ??????? ??? ?????? ??????? ?????????.
?? ???? ????? ??? ????? CSS ?JavaScript ????????
Yes. After checking 'Minify inline CSS' and 'Minify inline JavaScript' options, CSS inside <style> tags and JavaScript inside <script> tags will also be minified (remove whitespace, line breaks, comments).
?? ?? ???? ????? ????????
?????? ?????? ????? ??? 20% ?40%. ????? ????? ???? ????? ??? ??????? ?????? ??????? ????? ?????? ????? ????? ?? ??????? ?????? ??? ????. ????? ????? ???? ???? ?? ????? ???????? ??? ?Extreme Minify?? ??? ??? ?? ???? ??? ????? ????? ????? ???????? ???????.