# tag-no-obsolete

> Disallows the use of obsolete HTML tags that are no longer supported in modern browsers.

Disallows the use of obsolete HTML tags.

Level: Error

## Config value

[Section titled “Config value”](#config-value)

* `true`: enable rule
* `false`: disable rule

## Description

[Section titled “Description”](#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:”](#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”](#the-following-patterns-are-not-considered-rule-violations)

```html
<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:”](#the-following-patterns-are-considered-rule-violations)

```html
<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”](#why-this-rule-is-important)

These tags are no longer supported by modern browsers and should be replaced with appropriate alternatives.