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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
816 817 818 819 820 821 822 823 824 825 826 827 828 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
845 846 847 848 849 850 851 852 853 854 855 856 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1106 1107 1108 1109 1110 1111 1112 |
|
Html
Html(*children, **kwargs)
Bases: BaseTag
Defines the root of an HTML document
Source code in src/air/tags/models/base.py
48 49 50 51 52 53 54 55 56 57 |
|
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
16 17 18 19 20 21 22 23 24 25 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 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 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 |
|