inline-elements

1.1.2 • Public • Published

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

/inline-elements/

    Package Sidebar

    Install

    npm i inline-elements

    Weekly Downloads

    132

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • hemanth