Skip to content

Latest commit

 

History

History
77 lines (59 loc) · 1.39 KB

readme.md

File metadata and controls

77 lines (59 loc) · 1.39 KB

HTML Void Elements

List of known HTML void tag names.

Python port of npm package html-void-elements.

Pypi Version Downloads

🤔 What is this?

This is a list of HTML void tag names.

⌚ When should I use this?

You can use this package when you need to know what void tag names are allowed in any version of HTML.

💾 Install

pip install html-void-elements

# or

poetry add html-void-elements

✨ How to 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