deprecated-element
Warns when there is an element defined as deprecated or obsolete.
This rule refer HTML Living Standard based MDN Web docs. It has settings in @markuplint/html-spec.
Note: Non-standard element detection has been moved to
no-unsupported-featureswith thecheckNonStandardoption.
❌ Examples of incorrect code for this rule
<font color="red">lorem</font>
✅ Examples of correct code for this rule
<span class="red">lorem</span>
Interface
{
"deprecated-element": boolean
}
Default Severity
error