Skip to main content

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]

Metadata

Release files for html-void-elements 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for html-void-elements 0.1.0
File Size Uploaded
html-void-elements-0.1.0.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for html-void-elements 0.1.0
File Interpreter ABI Platform
html_void_elements-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / html-void-elements-0.1.0.tar.gz

Download URL html-void-elements-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
931b88f84cd606fee0b582c28fcd00e41d7149421fb673e1e1abd2f0c4f231f0
BLAKE2b-256 checksum
How to use checksums
805c5f17d77256bf78ca98647517fadee50575e75d812daa01352c31d89d5bf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.2 Linux/5.11.0-1028-azure

Release files / html_void_elements-0.1.0-py3-none-any.whl

Download URL html_void_elements-0.1.0-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
784cf39db03cdeb017320d9301009f8f3480f9d7b254d0974272e80e0cb5e0d2
BLAKE2b-256 checksum
How to use checksums
f50a373f28a1cf37f8c9aa23c82cbcac7197ddea95c88b5a3eaa564cdb8de375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.2 Linux/5.11.0-1028-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page