Skip to main content

no-obsolete-element

Warns when there is an element the HTML Living Standard marks as a non-conforming, obsolete feature — authors must not use it.

An element merely marked deprecated (not yet removed from the spec) is no-deprecated-element's concern.

❌ Examples of incorrect code for this rule

<font></font>
<big></big>
<marquee></marquee>

✅ Examples of correct code for this rule

<span style="font-size: larger"></span>

Interface

{
"no-obsolete-element": boolean
}

Default Severity

error