forked from rDrama/rDrama
…
|
||
---|---|---|
.. | ||
html-tags-void.json | ||
html-tags-void.json.d.ts | ||
html-tags.json | ||
html-tags.json.d.ts | ||
index.d.ts | ||
index.js | ||
license | ||
package.json | ||
readme.md | ||
void.d.ts | ||
void.js |
readme.md
html-tags ![Build Status](https://travis-ci.org/sindresorhus/html-tags.svg?branch=master)
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