inline-elements
v1.1.2
Published
Array of "inline elements" defined by the HTML specification.
Downloads
552
Readme
inline-elements
Array of "inline elements" defined by the HTML specification
Exports an Array of "inline elements" node names as defined by the HTML spec.
The list is programatically generated from SPEC.
Usage
var inlineElements = require('inline-elements');
assert(inlineElements.indexOf('head') === -1, '<head> is not an inline element');
assert(inlineElements.indexOf('big') !== -1, '<big> is an inline element');
License
MIT