Deprecated elements

Warns when there is an element defined as deprecated or obsolete or non-standard.

This rule refer HTML Living Standard based MDN Web docs. It has settings in @markuplint/html-spec.

Rule Details

👎 Examples of incorrect code for this rule

<font color="red">lorem</font>

👍 Examples of correct code for this rule

<span class="red">lorem</span>

Setting value


Default severity