Skip to content

tag-no-obsolete

Disallows the use of obsolete HTML tags.

Level: Error

  • true: enable rule
  • false: disable rule

This rule prevents the use of HTML tags that have been deprecated and are considered obsolete in HTML5. These tags are no longer supported by modern browsers and should be replaced with appropriate alternatives.

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>