html-tag-names
List of known HTML tag names
Last updated 6 years ago by wooorm .
MIT · Repository · Bugs · Original npm
$ cnpm install html-tag-names 
SYNC missed versions from official npm registry.

html-tag-names

Build Downloads Size

List of known HTML tag names. Includes ancient (for example, nextid and basefont) and modern (for example, shadow and template) names from the HTML living standard.

The repo includes a script to crawl specs to include newly introduced names.

Install

npm:

npm install html-tag-names

Use

var htmlTagNames = require('html-tag-names')

console.log(htmlTagNames.length) // => 148

console.log(htmlTagNames.slice(0, 20))

Yields:

[ 'a',
  'abbr',
  'acronym',
  'address',
  'applet',
  'area',
  'article',
  'aside',
  'audio',
  'b',
  'base',
  'basefont',
  'bdi',
  'bdo',
  'bgsound',
  'big',
  'blink',
  'blockquote',
  'body',
  'br' ]

API

htmlTagNames

Array.<string> — List of lowercase tag names.

Related

License

MIT © Titus Wormer

Current Tags

  • 1.1.5                                ...           latest (6 years ago)

2 Versions

  • 2.0.1                                ...           4 years ago
  • 1.1.5                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (13)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org