List of HTML void tag names.
Project description
HtmlTagNames
Python port of npm package html-void-elements.
List of known HTML tag names.
What is this?
This is a list of HTML tag names.
It includes ancient (for example, nextid
and basefont
) and modern (for
example, shadow
and template
) names from the HTML living standard.
The repo includes scripts to regenerate the data from the specs.
When should I use this?
You can use this package when you need to know what tag names are allowed in any version of HTML.
Install
pip install html-tag-names
Use
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'
]
License
GPL © Riverside Healthcare
Ported from html-void-elements
MIT © [Titus Wormer][author]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html-void-elements-0.1.0.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for html_void_elements-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 784cf39db03cdeb017320d9301009f8f3480f9d7b254d0974272e80e0cb5e0d2 |
|
MD5 | e7e79422eee85629607a1e48bf52c2f6 |
|
BLAKE2b-256 | f50a373f28a1cf37f8c9aa23c82cbcac7197ddea95c88b5a3eaa564cdb8de375 |