Skip to content

address-content-model ​

Disallow heading, sectioning, header, footer, and address elements inside <address>.

Severity ​

error

❌ Incorrect ​

html
<address><h2>Contact</h2></address>

✅ Correct ​

html
<address><p>contact@example.com</p></address>

Reference ​

Configuration ​

json
{
  "rules": {
    "address-content-model": "error"
  }
}

Released under the MIT License.