Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
html-tags-void.json | 2 years ago | |
html-tags-void.json.d.ts | 2 years ago | |
html-tags.json | 2 years ago | |
html-tags.json.d.ts | 2 years ago | |
index.d.ts | 2 years ago | |
index.js | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago | |
void.d.ts | 2 years ago | |
void.js | 2 years ago |
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.
$ npm install html-tags
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', …]
MIT © Sindre Sorhus