tree: 72e932ab855909dde064b5d7577a45fd4bd564ad [path history] [tgz]
  1. html-tags-void.json
  2. html-tags-void.json.d.ts
  3. html-tags.json
  4. html-tags.json.d.ts
  5. index.d.ts
  6. index.js
  7. license
  8. package.json
  9. readme.md
  10. void.d.ts
  11. void.js
node_modules/html-tags/readme.md

html-tags Build Status

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

const htmlTags = require('html-tags');

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

And void (self-closing) tags:

const voidHtmlTags = require('html-tags/void');

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

License

MIT © Sindre Sorhus