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 a element.

minihtml.tags.abbr: PrototypeNonEmpty = <PrototypeNonEmpty abbr (inline)>

The abbr element.

minihtml.tags.address: PrototypeNonEmpty = <PrototypeNonEmpty address>

The address element.

minihtml.tags.area: PrototypeEmpty = <PrototypeEmpty area (omit_end_tag)>

The area element.

minihtml.tags.article: PrototypeNonEmpty = <PrototypeNonEmpty article>

The article element.

minihtml.tags.aside: PrototypeNonEmpty = <PrototypeNonEmpty aside>

The aside element.

minihtml.tags.audio: PrototypeNonEmpty = <PrototypeNonEmpty audio>

The audio element.

minihtml.tags.b: PrototypeNonEmpty = <PrototypeNonEmpty b (inline)>

The b element.

minihtml.tags.base: PrototypeEmpty = <PrototypeEmpty base (omit_end_tag)>

The base element.

minihtml.tags.bdi: PrototypeNonEmpty = <PrototypeNonEmpty bdi (inline)>

The bdi element.

minihtml.tags.bdo: PrototypeNonEmpty = <PrototypeNonEmpty bdo (inline)>

The bdo element.

minihtml.tags.blockquote: PrototypeNonEmpty = <PrototypeNonEmpty blockquote>

The blockquote element.

minihtml.tags.body: PrototypeNonEmpty = <PrototypeNonEmpty body>

The body element.

minihtml.tags.br: PrototypeEmpty = <PrototypeEmpty br (inline, omit_end_tag)>

The br element.

minihtml.tags.button: PrototypeNonEmpty = <PrototypeNonEmpty button>

The button element.

minihtml.tags.canvas: PrototypeNonEmpty = <PrototypeNonEmpty canvas>

The canvas element.

minihtml.tags.caption: PrototypeNonEmpty = <PrototypeNonEmpty caption>

The caption element.

minihtml.tags.cite: PrototypeNonEmpty = <PrototypeNonEmpty cite (inline)>

The cite element.

minihtml.tags.code: PrototypeNonEmpty = <PrototypeNonEmpty code (inline)>

The code element.

minihtml.tags.col: PrototypeEmpty = <PrototypeEmpty col (omit_end_tag)>

The col element.

minihtml.tags.colgroup: PrototypeNonEmpty = <PrototypeNonEmpty colgroup>

The colgroup element.

minihtml.tags.data: PrototypeNonEmpty = <PrototypeNonEmpty data (inline)>

The data element.

minihtml.tags.datalist: PrototypeNonEmpty = <PrototypeNonEmpty datalist>

The datalist element.

minihtml.tags.dd: PrototypeNonEmpty = <PrototypeNonEmpty dd>

The dd element.

minihtml.tags.del_: PrototypeNonEmpty = <PrototypeNonEmpty del (inline)>

The del element.

minihtml.tags.details: PrototypeNonEmpty = <PrototypeNonEmpty details>

The details element.

minihtml.tags.dfn: PrototypeNonEmpty = <PrototypeNonEmpty dfn (inline)>

The dfn element.

minihtml.tags.dialog: PrototypeNonEmpty = <PrototypeNonEmpty dialog>

The dialog element.

minihtml.tags.div: PrototypeNonEmpty = <PrototypeNonEmpty div>

The div element.

minihtml.tags.dl: PrototypeNonEmpty = <PrototypeNonEmpty dl>

The dl element.

minihtml.tags.dt: PrototypeNonEmpty = <PrototypeNonEmpty dt>

The dt element.

minihtml.tags.em: PrototypeNonEmpty = <PrototypeNonEmpty em (inline)>

The em element.

minihtml.tags.embed: PrototypeEmpty = <PrototypeEmpty embed (omit_end_tag)>

The embed element.

minihtml.tags.fieldset: PrototypeNonEmpty = <PrototypeNonEmpty fieldset>

The fieldset element.

minihtml.tags.figcaption: PrototypeNonEmpty = <PrototypeNonEmpty figcaption>

The figcaption element.

minihtml.tags.figure: PrototypeNonEmpty = <PrototypeNonEmpty figure>

The figure element.

minihtml.tags.footer: PrototypeNonEmpty = <PrototypeNonEmpty footer>

The footer element.

minihtml.tags.form: PrototypeNonEmpty = <PrototypeNonEmpty form>

The form element.

minihtml.tags.h1: PrototypeNonEmpty = <PrototypeNonEmpty h1>

The h1 element.

minihtml.tags.h2: PrototypeNonEmpty = <PrototypeNonEmpty h2>

The h2 element.

minihtml.tags.h3: PrototypeNonEmpty = <PrototypeNonEmpty h3>

The h3 element.

minihtml.tags.h4: PrototypeNonEmpty = <PrototypeNonEmpty h4>

The h4 element.

minihtml.tags.h5: PrototypeNonEmpty = <PrototypeNonEmpty h5>

The h5 element.

minihtml.tags.h6: PrototypeNonEmpty = <PrototypeNonEmpty h6>

The h6 element.

minihtml.tags.head: PrototypeNonEmpty = <PrototypeNonEmpty head>

The head element.

minihtml.tags.header: PrototypeNonEmpty = <PrototypeNonEmpty header>

The header element.

minihtml.tags.hgroup: PrototypeNonEmpty = <PrototypeNonEmpty hgroup>

The hgroup element.

minihtml.tags.hr: PrototypeEmpty = <PrototypeEmpty hr (omit_end_tag)>

The hr element.

minihtml.tags.html: PrototypeNonEmpty = <PrototypeNonEmpty html>

The html element.

minihtml.tags.i: PrototypeNonEmpty = <PrototypeNonEmpty i (inline)>

The i element.

minihtml.tags.iframe: PrototypeEmpty = <PrototypeEmpty iframe>

The iframe element.

minihtml.tags.img: PrototypeEmpty = <PrototypeEmpty img (inline, omit_end_tag)>

The img element.

minihtml.tags.input: PrototypeEmpty = <PrototypeEmpty input (omit_end_tag)>

The input element.

minihtml.tags.input_ = <PrototypeEmpty input (omit_end_tag)>

The input element. Alias for input.

minihtml.tags.ins: PrototypeNonEmpty = <PrototypeNonEmpty ins (inline)>

The ins element.

minihtml.tags.kbd: PrototypeNonEmpty = <PrototypeNonEmpty kbd (inline)>

The kbd element.

minihtml.tags.label: PrototypeNonEmpty = <PrototypeNonEmpty label>

The label element.

minihtml.tags.legend: PrototypeNonEmpty = <PrototypeNonEmpty legend>

The legend element.

minihtml.tags.li: PrototypeNonEmpty = <PrototypeNonEmpty li>

The li element.

The link element.

minihtml.tags.main: PrototypeNonEmpty = <PrototypeNonEmpty main>

The main element.

minihtml.tags.map: PrototypeNonEmpty = <PrototypeNonEmpty map>

The map element.

minihtml.tags.map_ = <PrototypeNonEmpty map>

The map element. Alias for map.

minihtml.tags.mark: PrototypeNonEmpty = <PrototypeNonEmpty mark (inline)>

The mark element.

minihtml.tags.menu: PrototypeNonEmpty = <PrototypeNonEmpty menu>

The menu element.

minihtml.tags.meta: PrototypeEmpty = <PrototypeEmpty meta (omit_end_tag)>

The meta element.

minihtml.tags.meter: PrototypeNonEmpty = <PrototypeNonEmpty meter>

The meter element.

minihtml.tags.nav: PrototypeNonEmpty = <PrototypeNonEmpty nav>

The nav element.

minihtml.tags.noscript: PrototypeNonEmpty = <PrototypeNonEmpty noscript>

The noscript element.

minihtml.tags.object: PrototypeNonEmpty = <PrototypeNonEmpty object>

The object element.

minihtml.tags.object_ = <PrototypeNonEmpty object>

The object element. Alias for object.

minihtml.tags.ol: PrototypeNonEmpty = <PrototypeNonEmpty ol>

The ol element.

minihtml.tags.optgroup: PrototypeNonEmpty = <PrototypeNonEmpty optgroup>

The optgroup element.

minihtml.tags.option: PrototypeNonEmpty = <PrototypeNonEmpty option>

The option element.

minihtml.tags.output: PrototypeNonEmpty = <PrototypeNonEmpty output>

The output element.

minihtml.tags.p: PrototypeNonEmpty = <PrototypeNonEmpty p>

The p element.

minihtml.tags.picture: PrototypeNonEmpty = <PrototypeNonEmpty picture>

The picture element.

minihtml.tags.pre: PrototypeNonEmpty = <PrototypeNonEmpty pre>

The pre element.

minihtml.tags.progress: PrototypeNonEmpty = <PrototypeNonEmpty progress>

The progress element.

minihtml.tags.q: PrototypeNonEmpty = <PrototypeNonEmpty q (inline)>

The q element.

minihtml.tags.rp: PrototypeNonEmpty = <PrototypeNonEmpty rp (inline)>

The rp element.

minihtml.tags.rt: PrototypeNonEmpty = <PrototypeNonEmpty rt (inline)>

The rt element.

minihtml.tags.ruby: PrototypeNonEmpty = <PrototypeNonEmpty ruby (inline)>

The ruby element.

minihtml.tags.s: PrototypeNonEmpty = <PrototypeNonEmpty s (inline)>

The s element.

minihtml.tags.samp: PrototypeNonEmpty = <PrototypeNonEmpty samp (inline)>

The samp element.

minihtml.tags.script: PrototypeNonEmpty = <PrototypeNonEmpty script>

The script element.

minihtml.tags.search: PrototypeNonEmpty = <PrototypeNonEmpty search>

The search element.

minihtml.tags.section: PrototypeNonEmpty = <PrototypeNonEmpty section>

The section element.

minihtml.tags.select: PrototypeNonEmpty = <PrototypeNonEmpty select>

The select element.

minihtml.tags.slot: PrototypeNonEmpty = <PrototypeNonEmpty slot>

The slot element.

minihtml.tags.small: PrototypeNonEmpty = <PrototypeNonEmpty small (inline)>

The small element.

minihtml.tags.source: PrototypeEmpty = <PrototypeEmpty source (omit_end_tag)>

The source element.

minihtml.tags.span: PrototypeNonEmpty = <PrototypeNonEmpty span (inline)>

The span element.

minihtml.tags.strong: PrototypeNonEmpty = <PrototypeNonEmpty strong (inline)>

The strong element.

minihtml.tags.style: PrototypeNonEmpty = <PrototypeNonEmpty style>

The style element.

minihtml.tags.sub: PrototypeNonEmpty = <PrototypeNonEmpty sub (inline)>

The sub element.

minihtml.tags.summary: PrototypeNonEmpty = <PrototypeNonEmpty summary>

The summary element.

minihtml.tags.sup: PrototypeNonEmpty = <PrototypeNonEmpty sup (inline)>

The sup element.

minihtml.tags.table: PrototypeNonEmpty = <PrototypeNonEmpty table>

The table element.

minihtml.tags.tbody: PrototypeNonEmpty = <PrototypeNonEmpty tbody>

The tbody element.

minihtml.tags.td: PrototypeNonEmpty = <PrototypeNonEmpty td>

The td element.

minihtml.tags.template: PrototypeNonEmpty = <PrototypeNonEmpty template>

The template element.

minihtml.tags.template_ = <PrototypeNonEmpty template>

The template element. Alias for template.

minihtml.tags.textarea: PrototypeNonEmpty = <PrototypeNonEmpty textarea>

The textarea element.

minihtml.tags.tfoot: PrototypeNonEmpty = <PrototypeNonEmpty tfoot>

The tfoot element.

minihtml.tags.th: PrototypeNonEmpty = <PrototypeNonEmpty th>

The th element.

minihtml.tags.thead: PrototypeNonEmpty = <PrototypeNonEmpty thead>

The thead element.

minihtml.tags.time: PrototypeNonEmpty = <PrototypeNonEmpty time (inline)>

The time element.

minihtml.tags.title: PrototypeNonEmpty = <PrototypeNonEmpty title>

The title element.

minihtml.tags.tr: PrototypeNonEmpty = <PrototypeNonEmpty tr>

The tr element.

minihtml.tags.track: PrototypeEmpty = <PrototypeEmpty track (omit_end_tag)>

The track element.

minihtml.tags.u: PrototypeNonEmpty = <PrototypeNonEmpty u (inline)>

The u element.

minihtml.tags.ul: PrototypeNonEmpty = <PrototypeNonEmpty ul>

The ul element.

minihtml.tags.var: PrototypeNonEmpty = <PrototypeNonEmpty var (inline)>

The var element.

minihtml.tags.video: PrototypeNonEmpty = <PrototypeNonEmpty video>

The video element.

minihtml.tags.wbr: PrototypeEmpty = <PrototypeEmpty wbr (inline, omit_end_tag)>

The wbr element.