|
new_tag(name, has_endtag=True, attrs=ANY, can_contain=ANY)
Creates a new tag class
| name | name of the tag (lowercase)
| has_endtag| True or False
| attrs list of lowercase attrs the tag supports or ANY
can_contain| list of TT_* flags or ANY
Returns: a new tags class
| | | | |
|
|