Skip to main content
Checks for malformed HTML structure
Rule IDcontent/broken-html
CategoryContent
ScopePer-page
Severitywarning
Weight4/10

Solution

Valid HTML helps search engines parse and understand your content. Common issues: unclosed tags, nested elements incorrectly, invalid attributes. Use an HTML validator to find issues. Modern browsers are forgiving, but search engine parsers may not be. Clean HTML also improves accessibility and maintainability.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["content/broken-html"]

Disable all Content rules

squirrel.toml
[rules]
disable = ["content/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["content/broken-html"]
disable = ["*"]