包详细信息

inline-elements

hemanth801MIT1.1.2

Array of "inline elements" defined by the HTML specification.

html, elements, inline

自述文件

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