$ gnpm install 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.
$ 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', …]
Copyright 2013 - present © cnpmjs.org | Home |