--- id: html-tag-names version: "0.1.2" license: GPL-3.0-or-later license_treatment: copyleft maintenance: dormant --- # html-tag-names — List of known HTML tag names License: copyleft · Maintenance: dormant · Downloads: 443.5K/mo ## What it is and what it does html-tag-names is a simple data package that exports a list of 148 known HTML tag names, covering both legacy tags (like `basefont` and `nextid`) and modern ones (like `template` and `shadow`). It is a Python port of the npm package of the same name and includes tags from across all versions of the HTML standard. The package has no runtime dependencies and is intended for use cases where you need to validate or enumerate valid HTML tag names programmatically. It is most useful in HTML parsing, validation, or generation tools where you need to check whether a given string is a recognized HTML tag. Use it for: - Validate user input or parsed markup to check if a tag name is a recognized HTML element. - Generate or filter lists of valid tags in HTML parsing or linting tools. - Build HTML template engines or code generators that need to distinguish valid tags from custom elements. - Create documentation or reference tools that enumerate all standard HTML tags. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a curated list of valid HTML tag names across all HTML versions, from ancient tags like `nextid` to modern ones like `shadow` and `template`. Yes, if you need a simple, dependency-free reference of valid HTML tag names. The package is stable (no vulnerabilities, low install friction), but be aware it is dormant—last release was 2022-03-09—so it will not track future HTML spec changes. Avoid if you need an actively maintained, up-to-date tag list or if GPL-3.0-or-later licensing conflicts with your project. ## Install pip install html-tag-names uv add html-tag-names poetry add html-tag-names ## Installing html-tag-names Before you install: Low friction: pure Python, no runtime dependencies, and packaged as a wheel. Maintenance is dormant—last release was 2022-03-09 and last commit 2024-10-08—so expect no active updates, though the data itself is unlikely to change frequently. License in practice: Licensed under GPL-3.0-or-later (copyleft). Any derivative work or bundled distribution must also be GPL-compatible; this may restrict use in proprietary or closed-source projects. Quickstart: from HtmlTagNames import html_tag_names print(len(html_tag_names)) # => 148 print('a' in html_tag_names) # Check if a tag is valid Verify before relying: - Whether the tag list is kept in sync with the HTML living standard or if it reflects a snapshot from a specific date. - Whether the package is actively maintained or if dormancy means the tag list may lag behind new HTML specs. ## Package facts - License: GPL-3.0-or-later (copyleft) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 443.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags html tag names list, valid html tags, html tag validation, html standard tags, check if tag is valid html, html tag reference, html tag enumeration, html-reference, tag-validation [View on SkillFed](https://skillfed.io/packages/html-tag-names) · [View on PyPI](https://pypi.org/project/html-tag-names/)