html-tag-names-0.1.2
توضیحات
List of known HTML tag names
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | html-tag-names-0.1.2 |
| نام | html-tag-names |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christopher Pickering |
| ایمیل نویسنده | cpickering@rhc.net |
| آدرس صفحه اصلی | https://github.com/Riverside-Healthcare/html-tag-names |
| آدرس اینترنتی | https://pypi.org/project/html-tag-names/ |
| مجوز | GPL-3.0-or-later |
# HtmlTagNames
Python port of npm package [html-tag-names](https://www.npmjs.com/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
```sh
pip install html-tag-names
```
## Use
```py
from HtmlTagNames import html_tag_names
print(len(html_tag_names)) # => 148
print(html_tag_names[:20])
```
Yields:
```py
[
'a',
'abbr',
'acronym',
'address',
'applet',
'area',
'article',
'aside',
'audio',
'b',
'base',
'basefont',
'bdi',
'bdo',
'bgsound',
'big',
'blink',
'blockquote',
'body',
'br'
]
```
## License
[MIT][license] © Riverside Healthcare
Ported from `html-tag-names` [MIT][license] © [Titus Wormer][author]
[license]: LICENSE
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl html-tag-names-0.1.2:
pip install html-tag-names-0.1.2.whl
نصب پکیج tar.gz html-tag-names-0.1.2:
pip install html-tag-names-0.1.2.tar.gz