Skip to main content

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]

Metadata

Release files for html-tag-names 0.1.2

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-tag-names 0.1.2
File Size Uploaded
html-tag-names-0.1.2.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for html-tag-names 0.1.2
File Interpreter ABI Platform
html_tag_names-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / html-tag-names-0.1.2.tar.gz

Download URL html-tag-names-0.1.2.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
04924aca48770f36b5a41c27e4d917062507be05118acb0ba869c97389084297
BLAKE2b-256 checksum
How to use checksums
417c8c0dc3c5650036127fb4629d31cadf6cbdd57e21a77f9793fa8b2c8a3241
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_tag_names-0.1.2-py3-none-any.whl

Download URL html_tag_names-0.1.2-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeb69ef21078486b615241f0393a72b41352c5219ee648e7c61f5632d26f0420
BLAKE2b-256 checksum
How to use checksums
9ae4242318dcaa06d8525ff72332fc15cea2cffb84c06cfc73c7da6c6b45801a
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.2 This release

2 release files

0.1.1

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