You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xiaoz
db49ff5e85
|
3 years ago | |
---|---|---|
.. | ||
html-tags-void.json | 3 years ago | |
html-tags-void.json.d.ts | 3 years ago | |
html-tags.json | 3 years ago | |
html-tags.json.d.ts | 3 years ago | |
index.d.ts | 3 years ago | |
index.js | 3 years ago | |
license | 3 years ago | |
package.json | 3 years ago | |
readme.md | 3 years ago | |
void.d.ts | 3 years ago | |
void.js | 3 years ago |
readme.md
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
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