tags.tag(content: str, **attrs) -> str
Render HTML tags as tags.h1('hello', _class='heading')
.
Parse a string like class="input" type="text" required
into dict
.
Render dict
to string like class="input" type="text" required
.
$ python -m unittest tests/test_html.py