Python port of npm package html-void-elements.
This is a list of HTML void tag names.
You can use this package when you need to know what void tag names are allowed in any version of HTML.
pip install html-void-elements
# or
poetry add html-void-elements
from HtmlVoidElements import html_void_elements
print(html_void_elements)
Yields:
[
'area',
'base',
'basefont',
'bgsound',
'br',
'col',
'command',
'embed',
'frame',
'hr',
'image',
'img',
'input',
'isindex',
'keygen',
'link',
'menuitem',
'meta',
'nextid',
'param',
'source',
'track',
'wbr'
]
- GPL © Riverside Healthcare
- Ported from
html-void-elements
MIT © Titus Wormer