Skip to content

html

HTML files: valid structure, accessibility, and no inline scripts or event handlers.

Check Stage Level What it does
html/html-validate commit recommended Validates HTML files for nesting, required attributes, text alternatives, and one style for void elements.
html/scripts commit all Reports inline scripts, event handler attributes, and executable URLs in HTML files.

gspot selects it in a scope with file extensions .html, .htm. A configuration that requires it selects it too: site.

Rule file Installed when
.gspot/configurations/language/html/rules/HTML.md Always
Tool Version
html-validate 11.6.1

gspot writes .gspot/configurations/language/html/html-validate.json.