htmy.html
DOCTYPE
a
Bases: Tag
<a> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a.
Source code in htmy/html.py
abbr
Bases: Tag
<abbr> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr.
Source code in htmy/html.py
address
area
Bases: TagWithProps
<area> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area.
Source code in htmy/html.py
article
aside
audio
b
Bases: Tag
<b> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b.
Source code in htmy/html.py
base
bdi
Bases: Tag
<bdi> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi.
Source code in htmy/html.py
bdo
Bases: Tag
<bdo> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo.
Source code in htmy/html.py
blockquote
Bases: Tag
<blockquote> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote.
Source code in htmy/html.py
body
br
button
canvas
caption
cite
Bases: Tag
<cite> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite.
Source code in htmy/html.py
code
Bases: Tag
<code> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code.
Source code in htmy/html.py
col
Bases: TagWithProps
<col> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col.
Source code in htmy/html.py
colgroup
Bases: TagWithProps
<colgroup> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup.
Source code in htmy/html.py
data
Bases: Tag
<data> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data.
Source code in htmy/html.py
datalist
dd
del_
Bases: Tag
<del> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del.
Source code in htmy/html.py
details
dfn
Bases: Tag
<dfn> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn.
Source code in htmy/html.py
dialog
div
dl
dt
Bases: Tag
<dt> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt.
Source code in htmy/html.py
em
Bases: Tag
<em> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em.
Source code in htmy/html.py
embed
Bases: TagWithProps
<embed> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed.
Source code in htmy/html.py
fieldset
figcaption
Bases: Tag
<figcaption> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption.
Source code in htmy/html.py
figure
footer
form
h1
Bases: Tag
<h1> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1.
Source code in htmy/html.py
h2
Bases: Tag
<h2> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2.
Source code in htmy/html.py
h3
Bases: Tag
<h3> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3.
Source code in htmy/html.py
h4
Bases: Tag
<h4> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4.
Source code in htmy/html.py
h5
Bases: Tag
<h5> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5.
Source code in htmy/html.py
h6
Bases: Tag
<h6> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6.
Source code in htmy/html.py
head
header
hgroup
hr
html
i
Bases: Tag
<i> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i.
Source code in htmy/html.py
iframe
img
input_
Bases: TagWithProps
<input> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input.
Source code in htmy/html.py
ins
Bases: Tag
<ins> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins.
Source code in htmy/html.py
kbd
Bases: Tag
<kbd> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd.
Source code in htmy/html.py
label
legend
li
Bases: Tag
<li> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li.
Source code in htmy/html.py
link
Bases: TagWithProps
<link> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link.
Source code in htmy/html.py
main
map
mark
Bases: Tag
<mark> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark.
Source code in htmy/html.py
menu
meta
Bases: TagWithProps
<meta> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta.
Source code in htmy/html.py
meter
nav
noscript
object
ol
optgroup
option
output
p
Bases: Tag
<p> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p.
Source code in htmy/html.py
picture
pre
Bases: Tag
<pre> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre.
Source code in htmy/html.py
progress
q
Bases: Tag
<q> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q.
Source code in htmy/html.py
s
Bases: Tag
<s> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s.
Source code in htmy/html.py
samp
Bases: Tag
<samp> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp.
Source code in htmy/html.py
script
Bases: Tag
<script> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script.
Source code in htmy/html.py
__init__(text='', **props)
Initialization.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The inner content of the tag. If not empty, it should be a
|
''
|
**props
|
PropertyValue
|
Tag attributes. |
{}
|
Source code in htmy/html.py
search
section
select
slot
small
Bases: Tag
<small> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small.
Source code in htmy/html.py
source
Bases: TagWithProps
<source> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source.
Source code in htmy/html.py
span
Bases: Tag
<span> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span.
Source code in htmy/html.py
strong
Bases: Tag
<strong> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong.
Source code in htmy/html.py
style
Bases: Tag
<style> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style.
Source code in htmy/html.py
__init__(content, **props)
Initialization.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
content
|
str
|
The content of the tag. It is automatically converted to a |
required |
**props
|
PropertyValue
|
Tag attributes. |
{}
|
Source code in htmy/html.py
sub
Bases: Tag
<sub> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub.
Source code in htmy/html.py
summary
Bases: Tag
<summary> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary.
Source code in htmy/html.py
sup
Bases: Tag
<sup> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup.
Source code in htmy/html.py
svg
table
tbody
td
Bases: Tag
<td> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td.
Source code in htmy/html.py
template
textarea
tfoot
th
Bases: Tag
<th> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th.
Source code in htmy/html.py
thead
time
Bases: Tag
<time> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time.
Source code in htmy/html.py
title
Bases: Tag
<title> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title.
Source code in htmy/html.py
tr
track
Bases: TagWithProps
<track> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track.
Source code in htmy/html.py
u
Bases: Tag
<u> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u.
Source code in htmy/html.py
ul
var
Bases: Tag
<var> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var.
Source code in htmy/html.py
video
wbr
Bases: Tag
<> element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/.