# noObsoleteTags

Rule `biome/noObsoleteTags`. Disallow obsolete HTML elements.

- Source: biome
- Technologies: React
- Kind: style
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1917 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `nursery/noObsoleteTags` | no | no | group nursery, since 2.5.14 | [docs](https://biomejs.dev/linter/rules/no-obsolete-tags/) |

## Code examples

### Incorrect: the rule reports this

```jsx
<font color="red">Warning</font>;
```

```jsx
<acronym title="World Wide Web">WWW</acronym>;
```

### Correct: the rule accepts this

```jsx
<span className="warning">Warning</span>;
<abbr title="World Wide Web">WWW</abbr>;
<Font />;
<UI.font />;
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "nursery": {
        "noObsoleteTags": "error"
      }
    }
  }
}
```

## Related rules

- [biome/noNonScalableViewport](https://lintradar.dev/rules/biome/noNonScalableViewport.md): Disallow disabling zoom with `user-scalable=no` in the `<meta name="viewport">` element.
- [biome/noPlaywrightElementHandle](https://lintradar.dev/rules/biome/noPlaywrightElementHandle.md): Disallow usage of element handles (`page.$()` and `page.$$()`).
- [biome/noNestedComponentDefinitions](https://lintradar.dev/rules/biome/noNestedComponentDefinitions.md): Disallows defining React components inside other components.
- [biome/noPlaywrightEval](https://lintradar.dev/rules/biome/noPlaywrightEval.md): Disallow usage of `page.$eval()` and `page.$$eval()`.
- [biome/noNamespaceImport](https://lintradar.dev/rules/biome/noNamespaceImport.md): Disallow the use of namespace imports.
- [biome/noPlaywrightForceOption](https://lintradar.dev/rules/biome/noPlaywrightForceOption.md): Disallow usage of the `{ force: true }` option.

---

Web page: https://lintradar.dev/rules/biome/noObsoleteTags. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
