UNPKG

472 BMarkdownView Raw
1# html-tags
2
3> List of standard HTML tags
4
5It's just a couple of JSON files that can be used in any environment.
6
7It intentionally leaves out obsolete tags.
8
9## Install
10
11```
12$ npm install html-tags
13```
14
15## Usage
16
17```js
18const htmlTags = require('html-tags');
19
20console.log(htmlTags);
21//=> ['a', 'abbr', 'acronym', …]
22```
23
24And void (self-closing) tags:
25
26```js
27const voidHtmlTags = require('html-tags/void');
28
29console.log(voidHtmlTags);
30//=> ['area', 'base', 'br', …]
31```