tag-no-obsolete
Disallows the use of obsolete HTML tags.
Level: Error
Config value
Section titled “Config value”true: enable rulefalse: disable rule
Description
Section titled “Description”This rule prevents the use of HTML tags that have been deprecated and are considered obsolete in HTML5.
Obsolete tags include:
Section titled “Obsolete tags include:”acronym, applet, basefont, bgsound, big, blink, center, dir, font, frame, frameset,
isindex, keygen, listing, marquee, menuitem, multicol, nextid, nobr, noembed, noframes,
plaintext, rb, rtc, spacer, strike, tt, xmp
The following patterns are not considered rule violations
Section titled “The following patterns are not considered rule violations”<div>Content</div><span>Text</span><p>Paragraph</p>The following patterns are considered rule violations:
Section titled “The following patterns are considered rule violations:”<center>Centered text</center><font color="red">Red text</font><marquee>Scrolling text</marquee>Why this rule is important
Section titled “Why this rule is important”These tags are no longer supported by modern browsers and should be replaced with appropriate alternatives.