1.1.2 • Published 7 years ago

inline-elements v1.1.2

Weekly downloads
259
License
MIT
Repository
github
Last release
7 years ago

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