html5validator
Validate HTML5. tldr-pages
On several platforms
Several platforms
Validate a specific file
html5validator path/to/fileIdentifyValidate all HTML files in a specific directory
html5validator --root path/to/directoryIdentifyShow warnings as well as errors
html5validator --show-warnings path/to/fileIdentifyMatch multiple files using a glob pattern
html5validator --root path/to/directory --match "*.html *.php"IdentifyIgnore specific directory names
html5validator --root path/to/directory --blacklist "node_modules vendor"IdentifyOutput the results in a specific format
html5validator --format gnu path/to/fileIdentifyOutput the log at a specific verbosity level
html5validator --root path/to/directory --log debugIdentify