html5validator
Validate HTML5. More information: https://github.com/svenkreiss/html5validator.
- Validate a specific file:
html5validator
- Validate all HTML files in a specific directory:
html5validator --root
- Show warnings as well as errors:
html5validator --show-warnings
- Match multiple files using a
globpattern:
html5validator --root --match ""
- Ignore specific directory names:
html5validator --root --blacklist ""
- Output the results in a specific format:
html5validator --format
- Output the log at a specific verbosity level:
html5validator --root --log
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
