npm.io
1.1.2 • Published 9 years ago

inline-elements

Licence
MIT
Version
1.1.2
Deps
0
Vulns
0
Weekly
0
Stars
9

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.

Build Status Dependency Status NPM version

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

Keywords