Tags¶
The minihtml.tags module contains prototypes for the HTML elements
defined by the HTML5 specification.
Tags with the same name as a python builtin, such as input or
object, or functions in the minihtml namespace (template)
are available under their regular names as well as an alias with a trailing
underscore (input_, object_, template_, etc.).
The del tag is available as del_ since it is the name of a Python keyword.
Note
Importing * will only import non-conflicting versions of these tags:
from minihtml.tags import *
input_()
To use their regular names, you have to import them directly, for example:
from minihtml.tags import input # masks the `input` builtin
input()
or access them via the module:
import minihtml.tags as t
t.input()
- minihtml.tags.a: PrototypeNonEmpty = <PrototypeNonEmpty a (inline)>¶
The
aelement.
- minihtml.tags.abbr: PrototypeNonEmpty = <PrototypeNonEmpty abbr (inline)>¶
The
abbrelement.
- minihtml.tags.address: PrototypeNonEmpty = <PrototypeNonEmpty address>¶
The
addresselement.
- minihtml.tags.area: PrototypeEmpty = <PrototypeEmpty area (omit_end_tag)>¶
The
areaelement.
- minihtml.tags.article: PrototypeNonEmpty = <PrototypeNonEmpty article>¶
The
articleelement.
- minihtml.tags.aside: PrototypeNonEmpty = <PrototypeNonEmpty aside>¶
The
asideelement.
- minihtml.tags.audio: PrototypeNonEmpty = <PrototypeNonEmpty audio>¶
The
audioelement.
- minihtml.tags.b: PrototypeNonEmpty = <PrototypeNonEmpty b (inline)>¶
The
belement.
- minihtml.tags.base: PrototypeEmpty = <PrototypeEmpty base (omit_end_tag)>¶
The
baseelement.
- minihtml.tags.bdi: PrototypeNonEmpty = <PrototypeNonEmpty bdi (inline)>¶
The
bdielement.
- minihtml.tags.bdo: PrototypeNonEmpty = <PrototypeNonEmpty bdo (inline)>¶
The
bdoelement.
- minihtml.tags.blockquote: PrototypeNonEmpty = <PrototypeNonEmpty blockquote>¶
The
blockquoteelement.
- minihtml.tags.body: PrototypeNonEmpty = <PrototypeNonEmpty body>¶
The
bodyelement.
- minihtml.tags.br: PrototypeEmpty = <PrototypeEmpty br (inline, omit_end_tag)>¶
The
brelement.
- minihtml.tags.button: PrototypeNonEmpty = <PrototypeNonEmpty button (inline)>¶
The
buttonelement.
- minihtml.tags.canvas: PrototypeNonEmpty = <PrototypeNonEmpty canvas>¶
The
canvaselement.
- minihtml.tags.caption: PrototypeNonEmpty = <PrototypeNonEmpty caption>¶
The
captionelement.
- minihtml.tags.cite: PrototypeNonEmpty = <PrototypeNonEmpty cite (inline)>¶
The
citeelement.
- minihtml.tags.code: PrototypeNonEmpty = <PrototypeNonEmpty code (inline)>¶
The
codeelement.
- minihtml.tags.col: PrototypeEmpty = <PrototypeEmpty col (omit_end_tag)>¶
The
colelement.
- minihtml.tags.colgroup: PrototypeNonEmpty = <PrototypeNonEmpty colgroup>¶
The
colgroupelement.
- minihtml.tags.data: PrototypeNonEmpty = <PrototypeNonEmpty data (inline)>¶
The
dataelement.
- minihtml.tags.datalist: PrototypeNonEmpty = <PrototypeNonEmpty datalist>¶
The
datalistelement.
- minihtml.tags.dd: PrototypeNonEmpty = <PrototypeNonEmpty dd>¶
The
ddelement.
- minihtml.tags.del_: PrototypeNonEmpty = <PrototypeNonEmpty del (inline)>¶
The
delelement.
- minihtml.tags.details: PrototypeNonEmpty = <PrototypeNonEmpty details>¶
The
detailselement.
- minihtml.tags.dfn: PrototypeNonEmpty = <PrototypeNonEmpty dfn (inline)>¶
The
dfnelement.
- minihtml.tags.dialog: PrototypeNonEmpty = <PrototypeNonEmpty dialog>¶
The
dialogelement.
- minihtml.tags.div: PrototypeNonEmpty = <PrototypeNonEmpty div>¶
The
divelement.
- minihtml.tags.dl: PrototypeNonEmpty = <PrototypeNonEmpty dl>¶
The
dlelement.
- minihtml.tags.dt: PrototypeNonEmpty = <PrototypeNonEmpty dt>¶
The
dtelement.
- minihtml.tags.em: PrototypeNonEmpty = <PrototypeNonEmpty em (inline)>¶
The
emelement.
- minihtml.tags.embed: PrototypeEmpty = <PrototypeEmpty embed (omit_end_tag)>¶
The
embedelement.
- minihtml.tags.fieldset: PrototypeNonEmpty = <PrototypeNonEmpty fieldset>¶
The
fieldsetelement.
- minihtml.tags.figcaption: PrototypeNonEmpty = <PrototypeNonEmpty figcaption>¶
The
figcaptionelement.
- minihtml.tags.figure: PrototypeNonEmpty = <PrototypeNonEmpty figure>¶
The
figureelement.
- minihtml.tags.footer: PrototypeNonEmpty = <PrototypeNonEmpty footer>¶
The
footerelement.
- minihtml.tags.form: PrototypeNonEmpty = <PrototypeNonEmpty form>¶
The
formelement.
- minihtml.tags.h1: PrototypeNonEmpty = <PrototypeNonEmpty h1>¶
The
h1element.
- minihtml.tags.h2: PrototypeNonEmpty = <PrototypeNonEmpty h2>¶
The
h2element.
- minihtml.tags.h3: PrototypeNonEmpty = <PrototypeNonEmpty h3>¶
The
h3element.
- minihtml.tags.h4: PrototypeNonEmpty = <PrototypeNonEmpty h4>¶
The
h4element.
- minihtml.tags.h5: PrototypeNonEmpty = <PrototypeNonEmpty h5>¶
The
h5element.
- minihtml.tags.h6: PrototypeNonEmpty = <PrototypeNonEmpty h6>¶
The
h6element.
- minihtml.tags.head: PrototypeNonEmpty = <PrototypeNonEmpty head>¶
The
headelement.
- minihtml.tags.header: PrototypeNonEmpty = <PrototypeNonEmpty header>¶
The
headerelement.
- minihtml.tags.hgroup: PrototypeNonEmpty = <PrototypeNonEmpty hgroup>¶
The
hgroupelement.
- minihtml.tags.hr: PrototypeEmpty = <PrototypeEmpty hr (omit_end_tag)>¶
The
hrelement.
- minihtml.tags.html: PrototypeNonEmpty = <PrototypeNonEmpty html>¶
The
htmlelement.
- minihtml.tags.i: PrototypeNonEmpty = <PrototypeNonEmpty i (inline)>¶
The
ielement.
- minihtml.tags.iframe: PrototypeEmpty = <PrototypeEmpty iframe>¶
The
iframeelement.
- minihtml.tags.img: PrototypeEmpty = <PrototypeEmpty img (inline, omit_end_tag)>¶
The
imgelement.
- minihtml.tags.input: PrototypeEmpty = <PrototypeEmpty input (inline, omit_end_tag)>¶
The
inputelement.
- minihtml.tags.input_ = <PrototypeEmpty input (inline, omit_end_tag)>¶
The
inputelement. Alias forinput.
- minihtml.tags.ins: PrototypeNonEmpty = <PrototypeNonEmpty ins (inline)>¶
The
inselement.
- minihtml.tags.kbd: PrototypeNonEmpty = <PrototypeNonEmpty kbd (inline)>¶
The
kbdelement.
- minihtml.tags.label: PrototypeNonEmpty = <PrototypeNonEmpty label (inline)>¶
The
labelelement.
- minihtml.tags.legend: PrototypeNonEmpty = <PrototypeNonEmpty legend>¶
The
legendelement.
- minihtml.tags.li: PrototypeNonEmpty = <PrototypeNonEmpty li>¶
The
lielement.
- minihtml.tags.link: PrototypeEmpty = <PrototypeEmpty link (omit_end_tag)>¶
The
linkelement.
- minihtml.tags.main: PrototypeNonEmpty = <PrototypeNonEmpty main>¶
The
mainelement.
- minihtml.tags.map: PrototypeNonEmpty = <PrototypeNonEmpty map (inline)>¶
The
mapelement.
- minihtml.tags.mark: PrototypeNonEmpty = <PrototypeNonEmpty mark (inline)>¶
The
markelement.
- minihtml.tags.menu: PrototypeNonEmpty = <PrototypeNonEmpty menu>¶
The
menuelement.
- minihtml.tags.meta: PrototypeEmpty = <PrototypeEmpty meta (omit_end_tag)>¶
The
metaelement.
- minihtml.tags.meter: PrototypeNonEmpty = <PrototypeNonEmpty meter>¶
The
meterelement.
- minihtml.tags.nav: PrototypeNonEmpty = <PrototypeNonEmpty nav>¶
The
navelement.
- minihtml.tags.noscript: PrototypeNonEmpty = <PrototypeNonEmpty noscript>¶
The
noscriptelement.
- minihtml.tags.object: PrototypeNonEmpty = <PrototypeNonEmpty object (inline)>¶
The
objectelement.
- minihtml.tags.ol: PrototypeNonEmpty = <PrototypeNonEmpty ol>¶
The
olelement.
- minihtml.tags.optgroup: PrototypeNonEmpty = <PrototypeNonEmpty optgroup>¶
The
optgroupelement.
- minihtml.tags.option: PrototypeNonEmpty = <PrototypeNonEmpty option>¶
The
optionelement.
- minihtml.tags.output: PrototypeNonEmpty = <PrototypeNonEmpty output>¶
The
outputelement.
- minihtml.tags.p: PrototypeNonEmpty = <PrototypeNonEmpty p>¶
The
pelement.
- minihtml.tags.picture: PrototypeNonEmpty = <PrototypeNonEmpty picture>¶
The
pictureelement.
- minihtml.tags.pre: PrototypeNonEmpty = <PrototypeNonEmpty pre>¶
The
preelement.
- minihtml.tags.progress: PrototypeNonEmpty = <PrototypeNonEmpty progress>¶
The
progresselement.
- minihtml.tags.q: PrototypeNonEmpty = <PrototypeNonEmpty q (inline)>¶
The
qelement.
- minihtml.tags.rp: PrototypeNonEmpty = <PrototypeNonEmpty rp (inline)>¶
The
rpelement.
- minihtml.tags.rt: PrototypeNonEmpty = <PrototypeNonEmpty rt (inline)>¶
The
rtelement.
- minihtml.tags.ruby: PrototypeNonEmpty = <PrototypeNonEmpty ruby (inline)>¶
The
rubyelement.
- minihtml.tags.s: PrototypeNonEmpty = <PrototypeNonEmpty s (inline)>¶
The
selement.
- minihtml.tags.samp: PrototypeNonEmpty = <PrototypeNonEmpty samp (inline)>¶
The
sampelement.
- minihtml.tags.script: PrototypeNonEmpty = <PrototypeNonEmpty script>¶
The
scriptelement.
- minihtml.tags.search: PrototypeNonEmpty = <PrototypeNonEmpty search>¶
The
searchelement.
- minihtml.tags.section: PrototypeNonEmpty = <PrototypeNonEmpty section>¶
The
sectionelement.
- minihtml.tags.select: PrototypeNonEmpty = <PrototypeNonEmpty select (inline)>¶
The
selectelement.
- minihtml.tags.slot: PrototypeNonEmpty = <PrototypeNonEmpty slot>¶
The
slotelement.
- minihtml.tags.small: PrototypeNonEmpty = <PrototypeNonEmpty small (inline)>¶
The
smallelement.
- minihtml.tags.source: PrototypeEmpty = <PrototypeEmpty source (omit_end_tag)>¶
The
sourceelement.
- minihtml.tags.span: PrototypeNonEmpty = <PrototypeNonEmpty span (inline)>¶
The
spanelement.
- minihtml.tags.strong: PrototypeNonEmpty = <PrototypeNonEmpty strong (inline)>¶
The
strongelement.
- minihtml.tags.style: PrototypeNonEmpty = <PrototypeNonEmpty style>¶
The
styleelement.
- minihtml.tags.sub: PrototypeNonEmpty = <PrototypeNonEmpty sub (inline)>¶
The
subelement.
- minihtml.tags.summary: PrototypeNonEmpty = <PrototypeNonEmpty summary>¶
The
summaryelement.
- minihtml.tags.sup: PrototypeNonEmpty = <PrototypeNonEmpty sup (inline)>¶
The
supelement.
- minihtml.tags.table: PrototypeNonEmpty = <PrototypeNonEmpty table>¶
The
tableelement.
- minihtml.tags.tbody: PrototypeNonEmpty = <PrototypeNonEmpty tbody>¶
The
tbodyelement.
- minihtml.tags.td: PrototypeNonEmpty = <PrototypeNonEmpty td>¶
The
tdelement.
- minihtml.tags.template: PrototypeNonEmpty = <PrototypeNonEmpty template>¶
The
templateelement.
- minihtml.tags.textarea: PrototypeNonEmpty = <PrototypeNonEmpty textarea (inline)>¶
The
textareaelement.
- minihtml.tags.tfoot: PrototypeNonEmpty = <PrototypeNonEmpty tfoot>¶
The
tfootelement.
- minihtml.tags.th: PrototypeNonEmpty = <PrototypeNonEmpty th>¶
The
thelement.
- minihtml.tags.thead: PrototypeNonEmpty = <PrototypeNonEmpty thead>¶
The
theadelement.
- minihtml.tags.time: PrototypeNonEmpty = <PrototypeNonEmpty time (inline)>¶
The
timeelement.
- minihtml.tags.title: PrototypeNonEmpty = <PrototypeNonEmpty title>¶
The
titleelement.
- minihtml.tags.tr: PrototypeNonEmpty = <PrototypeNonEmpty tr>¶
The
trelement.
- minihtml.tags.track: PrototypeEmpty = <PrototypeEmpty track (omit_end_tag)>¶
The
trackelement.
- minihtml.tags.u: PrototypeNonEmpty = <PrototypeNonEmpty u (inline)>¶
The
uelement.
- minihtml.tags.ul: PrototypeNonEmpty = <PrototypeNonEmpty ul>¶
The
ulelement.
- minihtml.tags.var: PrototypeNonEmpty = <PrototypeNonEmpty var (inline)>¶
The
varelement.
- minihtml.tags.video: PrototypeNonEmpty = <PrototypeNonEmpty video>¶
The
videoelement.
- minihtml.tags.wbr: PrototypeEmpty = <PrototypeEmpty wbr (inline, omit_end_tag)>¶
The
wbrelement.