Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

html-tags

3.1.0 • Public • Published

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

Install

npm i html-tags

DownloadsWeekly Downloads

2,237,476

Version

3.1.0

License

MIT

Unpacked Size

4.45 kB

Total Files

11

Last publish

Collaborators

  • avatar