List of known HTML tag names
Project description
HtmlTagNames
Python port of npm package html-tag-names.
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 HtmlTagNames import html_tag_names
print(len(html_tag_names)) # => 148
print(html_tag_names[:20])
Yields:
[
'a',
'abbr',
'acronym',
'address',
'applet',
'area',
'article',
'aside',
'audio',
'b',
'base',
'basefont',
'bdi',
'bdo',
'bgsound',
'big',
'blink',
'blockquote',
'body',
'br'
]
License
MIT © Riverside Healthcare
Ported from html-tag-names
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-tag-names-0.1.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for html_tag_names-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2408a9ac430f6374f6f1524267bd2adf17336b407b6106e5f7992b6d1cde2966 |
|
MD5 | 07b7c9355d8ebaa76af4b126bb59c916 |
|
BLAKE2b-256 | 291c253a91f4a1270964a4e270380fa1e79b64bb9b2168a9ba7eb3168a479568 |