Broken HTML
Checks for malformed HTML structure
Checks for malformed HTML structure
| Rule ID | content/broken-html |
| Category | Content |
| Scope | Per-page |
| Severity | warning |
| Weight | 4/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
[rules]
disable = ["content/broken-html"]
Disable all Content rules
[rules]
disable = ["content/*"]
Enable only this rule
[rules]
enable = ["content/broken-html"]
disable = ["*"]