html-void-elements
List of HTML void tag names.
Decision gist · record as of 2026-08-14
Yes, if you need a reliable reference list of HTML void elements. The package is minimal, dependency-free, and carries no known vulnerabilities. The main caveat is dormancy: it has not been updated since March 2022, so if the HTML living standard has added new void elements since then, this list may be incomplete. For most HTML processing tasks, the list is likely sufficient.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction to install; the package is dormant (last release 2022-03-09, last commit 2024-10-08) but carries no runtime dependencies and is stable for its narrow scope.
License · maintenance · safety
GPL-3.0-or-later (copyleft) — Licensed under GPL-3.0-or-later (copyleft). Any software that incorporates or modifies this package must also be distributed under a compatible copyleft license.
last release 2022-03-09 (1619 days) · last repo commit 2024-10-08 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 442,692 downloads/mo, #6,633 on PyPI
Alternatives
Verify before relying
pip install html-void-elements
from HtmlVoidElements import html_void_elements
print(html_void_elements) # Returns list of void tag names- Whether the list is kept in sync with the HTML living standard after the 2022 release date.
- How completeness compares to other HTML tag reference packages or the official spec.
What it is and what it does
This package is a Python port of the npm `html-void-elements` package, providing a curated list of HTML void element tag names—tags that are self-closing and do not have closing counterparts (like `br`, `img`, `input`, `meta`, and others). It includes both historical tags (e.g., `basefont`, `nextid`) and modern ones (e.g., `template`, `shadow`) drawn from the HTML living standard.
The package is a simple reference list with no runtime dependencies, designed for developers who need to validate or identify void elements during HTML parsing or generation. It supports Python 3.7 through 3.10 and has been stable since its single release in March 2022.
Use it for
- Validate whether an HTML tag is a void element during parsing or generation.
- Filter or categorize HTML tags by their self-closing status in a document processor.
- Reference the canonical list of void elements when building HTML sanitizers or validators.
- Check tag names against the standard when implementing HTML template engines or linters.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a reliable reference list of HTML void elements.
The package is minimal, dependency-free, and carries no known vulnerabilities. The main caveat is dormancy: it has not been updated since March 2022, so if the HTML living standard has added new void elements since then, this list may be incomplete. For most HTML processing tasks, the list is likely sufficient.
Install
html-void-elements on PyPI
Before you install
Low friction to install; the package is dormant (last release 2022-03-09, last commit 2024-10-08) but carries no runtime dependencies and is stable for its narrow scope.
License in practice
Licensed under GPL-3.0-or-later (copyleft). Any software that incorporates or modifies this package must also be distributed under a compatible copyleft license.
Quickstart
pip install html-void-elements
from HtmlVoidElements import html_void_elements
print(html_void_elements) # Returns list of void tag names
Verify before relying
- Whether the list is kept in sync with the HTML living standard after the 2022 release date.
- How completeness compares to other HTML tag reference packages or the official spec.
Package facts
| License | GPL-3.0-or-later copyleft |
| Python support | Supports the current Python release >=3.7,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,619 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 442,692 / month, #6,633 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: html_void_elements-0.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “html void elements list”
- html-void-elementsProvides a list of HTML void element tag names (self-closing tags…
- dash-html-componentsProvides vanilla HTML components for use in Dash applications,…
- lxml-html-cleanCleans and sanitizes HTML by removing unwanted tags and attributes…
Give your agent the search over MCP, or paste the wish link into any chat.
More HTML packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.
Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.
Install it if you need to parse Markdown in Python.
See also html-tag-names · html-sanitizer · tinyhtml · meld3 · flake8-variables-names · Selenium-Screenshot · fill-voids · nulltype · sphinxcontrib-video