html-void-elements
List of known void HTML elements.
Includes ancient (such as nextid and basefont) and modern (such as img and
meta) tag names from the HTML living standard.
Install
This package is ESM only: Node 12+ is needed to use it and it must be imported
instead of required.
npm:
npm install html-void-elementsUse
import {htmlVoidElements} from 'html-void-elements'
console.log(htmlVoidElements)Yields:
[
'area',
'base',
'basefont',
'bgsound',
'br',
'col',
'command',
'embed',
'frame',
'hr',
'image',
'img',
'input',
'isindex',
'keygen',
'link',
'menuitem',
'meta',
'nextid',
'param',
'source',
'track',
'wbr'
]API
This package exports the following identifiers: htmlVoidElements.
There is no default export.
htmlVoidElements
string[] — List of lowercase tag names.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
