html-tags
List of standard HTML tags
Last updated 8 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install html-tags 
SYNC missed versions from official npm registry.

html-tags

List of standard HTML tags

It's just a couple of JSON files that can be used in any environment.

It intentionally leaves out obsolete tags.

Install

npm install html-tags

Usage

import htmlTags from 'html-tags';

console.log(htmlTags);
//=> ['a', 'abbr', 'acronym', …]

And void (self-closing) tags:

import {voidHtmlTags} from 'html-tags';

console.log(voidHtmlTags);
//=> ['area', 'base', 'br', …]

Contribute

Make sure to update types in index.d.ts when changing HTML elements.

Current Tags

  • 5.1.0                                ...           latest (8 months ago)

19 Versions

  • 5.1.0                                ...           8 months ago
  • 5.0.0                                ...           a year ago
  • 4.0.0                                ...           2 years ago
  • 3.3.1                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.0                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.3.2                                ...           12 years ago
  • 0.3.1                                ...           12 years ago
  • 0.3.0                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago

Copyright 2013 - present © cnpmjs.org | Home |