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>
1:7 - Attribute "bgcolor" is deprecated on <body> element

Examples of correct code for this rule:

<body style="background: red;"></body>