html5validator

Validate HTML5. More information: https://github.com/svenkreiss/html5validator.

html5validator path/to/file

html5validator --root path/to/directory

html5validator --show-warnings path/to/file

html5validator --root path/to/directory --match "*.html *.php"

html5validator --root path/to/directory --blacklist "node_modules vendor"

html5validator --format gnu|xml|json|text path/to/file

html5validator --root path/to/directory --log debug|info|warning