Deprecated attributes

Warns when there is an attribute defined as deprecated or obsolete.

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

<img src="path/to" alt="any picture" align="top" />

👍 Examples of correct code for this rule

<img src="path/to" alt="any picture" style="vertical-align: center" />

Setting value

none

Default severity

error