Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.26 KB

no-obsolete-elements.md

File metadata and controls

56 lines (45 loc) · 1.26 KB

no-obsolete-elements

✅ The extends: 'recommended' property in a configuration file enables this rule.

Some elements are entirely obsolete and must not be used by authors.

This rule forbids the use of obsolete elements.

Examples

This rule forbids the following:

<acronym></acronym>
<applet></applet>
<basefont></basefont>
<bgsound></bgsound>
<big></big>
<blink></blink>
<center></center>
<dir></dir>
<font></font>
<frame></frame>
<frameset></frameset>
<isindex></isindex>
<keygen>
<listing></listing>
<marquee></marquee>
<menuitem></menuitem>
<multicol></multicol>
<nextid></nextid>
<nobr></nobr>
<noembed></noembed>
<noframes></noframes>
<plaintext></plaintext>
<rb></rb>
<rtc></rtc>
<s></s>
<spacer></spacer>
<strike></strike>
<tt></tt>
<u></u>
<xmp></xmp>

This rule allows anything that is not an obsolete element.

Migration

  • replace any use of these elements with the appropriate updated element or a div element.

References