Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.17 KB

no-obsolete-elements.md

File metadata and controls

53 lines (42 loc) · 1.17 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>
<spacer></spacer>
<strike></strike>
<tt></tt>
<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