Online HTML Minifier minifies HTML code and reduce the HTML file size. To optimize website speed, it is necessary to minify the HTML code. Online HTML Minifier removes all extra white spaces, newlines, comments etc. Online HTML Minifier also minifies the css and javascript between the style and script tags. These things can be turned on or off from the option button. This minifier also has an option to make all absolute URLs to relative URLs. Just enter the full site url in the options section and tick the option says 'Minify URLs'.
- Conditional comments are left intact, but their inner (insignificant) whitespace is removed.
- (e.g.
<... disabled="disabled"> → <... disabled>) - (e.g.
<p class="foo"> → <p class=foo>) - Valid attributes are: class, id, style, title, lang, dir, event attributes
- Currently, only:
</html>,</head>,</body>,</option></thead>,</tbody>,</tfoot>, and</tr>
- Currently, only tags starting and ending with:
<% ... %>and<? ... ?> - All except
textarea - Values other than "text/javascript" (e.g. "text/vbscript") are left intact.
- Values other than "text/css" (e.g. "text/plain" or "application/atom+xml") are left intact.
- Useful when minifying SVG
- Useful when minifying SVG
- Convert absolute URLs to relative
Đăng nhận xét