|
hace 3 años | |
---|---|---|
.. | ||
test | hace 3 años | |
.gitattributes | hace 3 años | |
.npmignore | hace 3 años | |
.travis.yml | hace 3 años | |
LICENSE | hace 3 años | |
README.md | hace 3 años | |
index.js | hace 3 años | |
package.json | hace 3 años | |
pre-publish.js | hace 3 años |
Exports an Array of "void element" node names as defined by the HTML spec.
The list is programatically generated from the latest W3C HTML draft.
var voidElements = require('void-elements');
assert(voidElements.indexOf('span') === -1, '<span> is not a void element');
assert(voidElements.indexOf('img') !== -1, '<img> is a void element');
MIT