Tags E-M
Embed
Embed(
*,
src=None,
type=None,
width=None,
height=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Defines a container for an external application
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
src
|
str | None
|
Specifies the address of the external file to embed. |
None
|
type
|
str | None
|
Specifies the media type of the embedded content. |
None
|
width
|
str | int | None
|
Specifies the width of the embedded content. |
None
|
height
|
str | int | None
|
Specifies the height of the embedded content. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
830 831 832 833 834 835 836 837 838 839 840 841 842 | |
Fieldset
Fieldset(
*children,
disabled=None,
form=None,
name=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Groups related elements in a form
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
disabled
|
str | None
|
Specifies that a group of related form elements should be disabled. |
None
|
form
|
str | None
|
Specifies which form the fieldset belongs to. |
None
|
name
|
str | None
|
Specifies a name for the fieldset. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
859 860 861 862 863 864 865 866 867 868 869 870 | |
Form
Form(
*children,
action=None,
method=None,
accept_charset=None,
autocomplete=None,
enctype=None,
name=None,
novalidate=None,
rel=None,
target=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an HTML form for user input
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
action
|
str | None
|
Specifies where to send the form-data when a form is submitted. |
None
|
method
|
str | None
|
Specifies the HTTP method to use when sending form-data. |
None
|
accept_charset
|
str | None
|
Specifies the character encodings that are to be used for the form submission. |
None
|
autocomplete
|
str | None
|
Specifies whether a form should have autocomplete on or off. |
None
|
enctype
|
str | None
|
Specifies how the form-data should be encoded when submitting it to the server. |
None
|
name
|
str | None
|
Specifies the name of the form. |
None
|
novalidate
|
str | None
|
Specifies that the form should not be validated when submitted. |
None
|
rel
|
str | None
|
Specifies the relationship between a linked resource and the current document. |
None
|
target
|
str | None
|
Specifies where to display the response that is received after submitting the form. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 | |
Head
Head(*children, profile=None, **kwargs)
Bases: BaseTag
Contains metadata/information for the document
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
profile
|
str | None
|
Specifies the URL of a document that contains a line-break-separated list of links. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1120 1121 1122 1123 1124 1125 1126 | |
Html
Html(*children, **attributes)
Bases: BaseTag
Defines the root of an HTML document
Source code in src/air/tags/models/base.py
73 74 75 76 77 78 79 80 81 82 83 | |
pretty_render
pretty_render(
*, with_body=False, with_head=False, with_doctype=True
)
Pretty-print without escaping.
Source code in src/air/tags/models/special.py
23 24 25 26 27 28 29 30 31 32 | |
Iframe
Iframe(
*children,
src=None,
srcdoc=None,
width=None,
height=None,
allow=None,
allowfullscreen=None,
allowpaymentrequest=None,
loading=None,
name=None,
referrerpolicy=None,
sandbox=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an inline frame
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
src
|
str | None
|
Specifies the URL of the page to embed. |
None
|
srcdoc
|
str | None
|
Specifies the HTML content of the page to show in the |
None
|
width
|
str | int | None
|
Specifies the width of an |
None
|
height
|
str | int | None
|
Specifies the height of an |
None
|
allow
|
str | None
|
Specifies a feature policy for the |
None
|
allowfullscreen
|
str | None
|
Set to true if the |
None
|
allowpaymentrequest
|
str | None
|
Set to true if a cross-origin |
None
|
loading
|
str | None
|
Specifies the loading policy of the |
None
|
name
|
str | None
|
Specifies the name of an |
None
|
referrerpolicy
|
str | None
|
Specifies which referrer information to send when fetching the iframe's content. |
None
|
sandbox
|
str | None
|
Enables an extra set of restrictions for the content in an |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 | |
Img
Img(
*,
src=None,
width=None,
height=None,
srcset=None,
alt=None,
crossorigin=None,
ismap=None,
loading=None,
longdesc=None,
referrerpolicy=None,
sizes=None,
usemap=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Defines an image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
src
|
str | None
|
Specifies the path to the image. |
None
|
width
|
str | int | None
|
Specifies the width of an image. |
None
|
height
|
str | int | None
|
Specifies the height of an image. |
None
|
srcset
|
str | None
|
Specifies a list of image files to use in different situations. |
None
|
alt
|
str | None
|
Specifies an alternate text for an image. |
None
|
crossorigin
|
str | None
|
Allows images from third-party sites that allow cross-origin access to be used with canvas. |
None
|
ismap
|
str | None
|
Specifies an image as a server-side image map. |
None
|
loading
|
str | None
|
Specifies whether a browser should load an image immediately or to defer loading of off-screen images. |
None
|
longdesc
|
str | None
|
Specifies a URL to a detailed description of an image. |
None
|
referrerpolicy
|
str | None
|
Specifies which referrer information to use when fetching an image. |
None
|
sizes
|
str | None
|
Specifies image sizes for different page layouts. |
None
|
usemap
|
str | None
|
Specifies an image as a client-side image map. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 | |
Input
Input(
*,
name=None,
type=None,
value=None,
readonly=None,
required=None,
accept=None,
alt=None,
autocomplete=None,
autofocus=None,
checked=None,
dirname=None,
disabled=None,
form=None,
formaction=None,
formenctype=None,
formmethod=None,
formnovalidate=None,
formtarget=None,
height=None,
list=None,
max=None,
maxlength=None,
min=None,
minlength=None,
multiple=None,
pattern=None,
placeholder=None,
popovertarget=None,
popovertargetaction=None,
size=None,
src=None,
step=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Defines an input control
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str | None
|
Specifies the name of an |
None
|
type
|
str | None
|
Specifies the type |
None
|
value
|
str | None
|
Specifies the value of an |
None
|
readonly
|
bool | None
|
Specifies that an input field is read-only. |
None
|
required
|
bool | None
|
Specifies that an input field must be filled out before submitting the form. |
None
|
accept
|
str | None
|
Specifies a filter for what file types the user can pick from the file input dialog box. |
None
|
alt
|
str | None
|
Specifies an alternate text for images. |
None
|
autocomplete
|
str | None
|
Specifies whether an |
None
|
autofocus
|
bool | None
|
Specifies that an |
None
|
checked
|
bool | None
|
Specifies that an |
None
|
dirname
|
str | None
|
Specifies that the text direction of the input field will be submitted. |
None
|
disabled
|
bool | None
|
Specifies that an |
None
|
form
|
str | None
|
Specifies the form the |
None
|
formaction
|
str | None
|
Specifies the URL of the file that will process the input control when the form is submitted. |
None
|
formenctype
|
str | None
|
Specifies how the form-data should be encoded when submitting it to the server. |
None
|
formmethod
|
str | None
|
Defines the HTTP method for sending data to the action URL. |
None
|
formnovalidate
|
bool | None
|
Specifies that the form-data should not be validated on submission. |
None
|
formtarget
|
str | None
|
Specifies where to display the response that is received after submitting the form. |
None
|
height
|
str | int | None
|
Specifies the height of an |
None
|
list
|
str | None
|
Refers to a |
None
|
max
|
str | None
|
Specifies the maximum value for an |
None
|
maxlength
|
str | None
|
Specifies the maximum number of characters allowed in an |
None
|
min
|
str | None
|
Specifies a minimum value for an |
None
|
minlength
|
str | None
|
Specifies the minimum number of characters required in an |
None
|
multiple
|
bool | None
|
Specifies that a user can enter more than one value in an |
None
|
pattern
|
str | None
|
Specifies a regular expression that an |
None
|
placeholder
|
str | None
|
Specifies a short hint that describes the expected value of an |
None
|
popovertarget
|
str | None
|
Specifies which popover element to invoke. |
None
|
popovertargetaction
|
str | None
|
Specifies what action to perform on the popover element. |
None
|
size
|
str | None
|
Specifies the width, in characters, of an |
None
|
src
|
str | None
|
Specifies the URL of the image to use as a submit button. |
None
|
step
|
str | None
|
Specifies the legal number intervals for an input field. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 | |
Ins
Ins(
*children,
cite=None,
datetime=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a text that has been inserted into a document
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cite
|
str | None
|
Specifies a URL to a document that explains the reason why the text was inserted/changed. |
None
|
datetime
|
str | None
|
Specifies the date and time when the text was inserted/changed. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 | |
Map
Map(
*children,
name=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an image map
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
name
|
str | None
|
Specifies the name of the image map. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 | |
Menu
Menu(
*children,
compact=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a menu list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
compact
|
str | None
|
Specifies that the list should be displayed in a compact style. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 | |
Meta
Meta(
*,
charset=None,
content=None,
http_equiv=None,
media=None,
name=None,
class_=None,
id=None,
**kwargs,
)
Bases: SelfClosingTag
Defines metadata about an HTML document
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
charset
|
str | None
|
Specifies the character encoding for the HTML document. |
None
|
content
|
str | None
|
Specifies the value associated with the http-equiv or name attribute. |
None
|
http_equiv
|
str | None
|
Provides an HTTP header for the information/value of the content attribute. |
None
|
media
|
str | None
|
Specifies what media/device the linked document is optimized for. |
None
|
name
|
str | None
|
Specifies a name for the metadata. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
Inline style attribute. |
required | |
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 | |
Meter
Meter(
*children,
value=None,
min=None,
max=None,
low=None,
high=None,
optimum=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a scalar measurement within a known range (a gauge)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
value
|
str | None
|
The current numeric value. Must be between the min and max values. |
None
|
min
|
str | None
|
The lower bound of the measured range. |
None
|
max
|
str | None
|
The upper bound of the measured range. |
None
|
low
|
str | None
|
The upper numeric bound of the low end of the measured range. |
None
|
high
|
str | None
|
The lower numeric bound of the high end of the measured range. |
None
|
optimum
|
str | None
|
The optimal numeric value. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 | |