Skip to content

Files

Latest commit

 

History

History
 
 

deprecated-attr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
title id category
Deprecated attributes
deprecated-attr
validation

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