CmdID

CmdID / Commands

html5validator

Validate HTML5. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Validate a specific file

html5validator path/to/fileIdentify

Validate all HTML files in a specific directory

html5validator --root path/to/directoryIdentify

Show warnings as well as errors

html5validator --show-warnings path/to/fileIdentify

Match multiple files using a glob pattern

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

Ignore specific directory names

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

Output the results in a specific format

html5validator --format gnu path/to/fileIdentify

Output the log at a specific verbosity level

html5validator --root path/to/directory --log debugIdentify