Case-sensitive
Treat attributes in case sensitive manner (useful for custom HTML tags)
Collapse boolean attributes
Omit attribute values from boolean attributes
Collapse inline tag whitespace
Don't leave any spaces between display:inline; elements when collapsing. Must be used in conjunction with collapseWhitespace=true
Collapse whitespace
Collapse white space that contributes to text nodes in a document tree
Conservative collapse
Always collapse to 1 space (never remove it entirely). Must be used in conjunction with collapseWhitespace=true
Decode Entity Characters
Use direct Unicode characters whenever possible
HTML5
Parse input according to HTML5 specifications
Include auto-generated tags
Insert tags generated by HTML parser
Keep closing slash
Keep the trailing slash on singleton elements
Max. line length
Specify a maximum line length. Compressed output will be split by newlines at valid HTML split-points
Minify CSS
Minify CSS in style elements and style attributes (uses clean-css)
Minify JavaScript
Minify JavaScript in script elements and event attributes (uses Terser)
Minify URLs
Minify URLs in various attributes (uses relateurl)
No newline before Tag Close
Never add a newline before a tag that closes an element
Preserve line-breaks
Always collapse to 1 line break (never remove it entirely) when whitespace between tags include a line break. Must be used in conjunction with collapseWhitespace=true
Prevent attributes escaping
Prevents the escaping of the values of attributes
Process conditional comments
Process contents of conditional comments through minifier
Process scripts
Comma-delimited string corresponding to types of script elements to process through minifier (e.g. text/ng-template, text/x-handlebars-template)
Quote character
Type of quote to use for attribute values (' or ")
Remove attribute quotes
Remove quotes around attributes when possible
Remove comments
Strip HTML comments
Remove empty attributes
Remove all attributes with whitespace-only values
Remove empty elements
Remove all elements with empty contents
Remove optional tags
Remove redundant attributes
Remove attributes when value matches default.
Remove script type attributes
Remove type="text/javascript" from script tags. Other type attribute values are left intact
Remove style link type attributes
Remove type="text/css" from style and link tags. Other type attribute values are left intact
Remove tag whitespace
Remove space between attributes whenever possible. Note that this will result in invalid HTML!
Sort attributes
Sort attributes by frequency
Sort class name
Sort style classes by frequency
Trim white space around custom fragments
Trim white space around ignoreCustomFragments.
Use short doctype
Replaces the doctype with the short (HTML5) doctype
Select: All, None, Reset
相关知识
SpringBoot+uniApp宠物领养小程序系统附带详细运行指导视频
html初学者入门教程
HTML基础知识详解
html
HTML基础与结构
【简单html静态网页代码】 制作一个简单HTML宠物网页(HTML CSS)
【html网页设计】
HTML宠物网页设计教程
html如何制作宠物
HTML做一个简单漂亮的宠物网页(纯html代码)宠物 5页(二级菜单)
网址: HTML Minifier Terser https://m.mcbbbk.com/newsview1356405.html
| 上一篇: 与龟共舞:宠物龟行为学探索 |
下一篇: CLI Usage |