Disallows usage of deprecated attributes (no-deprecated-attr
)
HTML5 deprecated many old attributes.
Rule details
Examples of incorrect code for this rule:
<body bgcolor="red"></body>
Examples of correct code for this rule:
<body style="background: red;"></body>