# @prettier/html-tags

> List of HTML tags.

Latest version **2.2.0** (published 2026-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @prettier/html-tags
pnpm add @prettier/html-tags
yarn add @prettier/html-tags
bun add @prettier/html-tags
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; has provenance.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2026-02-13 |
| First published | 2025-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | fisker |
| Maintainers | suchipi, mgrip, czosel, patrick91, zimme, azz, vjeux, evilebottnawi, kddeisz, shinigami92, j-f, lydell, fisker, sosukesuzuki |
| Keywords | html, html5, tags, elements, list, whatwg, w3c |

## Links

- npm: https://www.npmjs.com/package/@prettier/html-tags
- Repository: https://github.com/prettier/html-tags
- Homepage: https://github.com/prettier/html-tags#readme
- Issues: https://github.com/prettier/html-tags/issues
- npm.io page: https://npm.io/package/@prettier/html-tags

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 2.2.0 (latest) — 2026-02-13
- 2.1.0 — 2026-01-18
- 2.0.0 — 2025-10-29
- 1.1.0 — 2025-07-26
- 1.0.0 — 2025-04-26

## README

# @prettier/html-tags

[![Npm Version][package_version_badge]][package_link]
[![MIT License][license_badge]][license_link]
[![Coverage][coverage_badge]][coverage_link]

[coverage_badge]: https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square
[coverage_link]: https://app.codecov.io/gh/prettier/html-tags
[license_badge]: https://img.shields.io/npm/l/html-tags.svg?style=flat-square
[license_link]: https://github.com/prettier/html-tags/blob/main/license
[package_version_badge]: https://img.shields.io/npm/v/@prettier/html-tags.svg?style=flat-square
[package_link]: https://www.npmjs.com/package/@prettier/html-tags

> List of HTML tags.

## Install

```bash
yarn add @prettier/html-tags
```

## Usage

<!-- Usage start -->

```js
import {htmlTags, htmlVoidTags} from '@prettier/html-tags'

console.log(htmlTags)
//=> ['a', 'abbr', 'acronym', ... 148 more items]

console.log(htmlVoidTags)
//=> ['area', 'base', 'basefont', ... 17 more items]
```

<!-- Usage end -->

---
_Source: https://npm.io/package/@prettier/html-tags · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
