Tags E-M
Embed
Embed(*children, src=None, type=None, width=None, height=None, class_=None, id=None, style=None, **kwargs)
Bases: Tag
Defines a container for an external application
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
Tags, strings, or other rendered content. |
()
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
822 823 824 825 826 827 828 829 830 831 832 833 834 835 |
|
Fieldset
Fieldset(*children, disabled=None, form=None, name=None, class_=None, id=None, style=None, **kwargs)
Bases: Tag
Groups related elements in a form
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
852 853 854 855 856 857 858 859 860 861 862 863 |
|
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: Tag
Defines an HTML form for user input
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 |
|
Head
Head(*children, profile=None, **kwargs)
Bases: Tag
Contains metadata/information for the document
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1113 1114 1115 1116 1117 1118 1119 |
|
Html
Html(*children, **kwargs)
Bases: Tag
Defines the root of an HTML document
Source code in src/air/tags/models/base.py
19 20 21 22 23 24 25 26 27 |
|
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: Tag
Defines an inline frame
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 |
|
Img
Img(*children, 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: Tag
Defines an image
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
Tags, strings, or other rendered content. |
()
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 |
|
Input
Input(*children, 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: Tag
Defines an input control
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
Tags, strings, or other rendered content. |
()
|
name
|
str | None
|
Specifies the name of an element. |
None
|
type
|
str | None
|
Specifies the type element to display. |
None
|
value
|
str | None
|
Specifies the value of an element. |
None
|
readonly
|
str | None
|
Specifies that an input field is read-only. |
None
|
required
|
str | 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 element should have autocomplete on or off. |
None
|
autofocus
|
str | None
|
Specifies that an element should automatically get focus when the page loads. |
None
|
checked
|
str | None
|
Specifies that an element should be pre-selected when the page loads. |
None
|
dirname
|
str | None
|
Specifies that the text direction of the input field will be submitted. |
None
|
disabled
|
str | None
|
Specifies that an element should be disabled. |
None
|
form
|
str | None
|
Specifies the form the element belongs to. |
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
|
str | 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 element. |
None
|
list
|
str | None
|
Refers to a |
None
|
max
|
str | None
|
Specifies the maximum value for an element. |
None
|
maxlength
|
str | None
|
Specifies the maximum number of characters allowed in an element. |
None
|
min
|
str | None
|
Specifies a minimum value for an element. |
None
|
minlength
|
str | None
|
Specifies the minimum number of characters required in an element. |
None
|
multiple
|
str | None
|
Specifies that a user can enter more than one value in an element. |
None
|
pattern
|
str | None
|
Specifies a regular expression that an element's value is checked against. |
None
|
placeholder
|
str | None
|
Specifies a short hint that describes the expected value of an element. |
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 element. |
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
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 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
|
Ins
Ins(*children, cite=None, datetime=None, class_=None, id=None, style=None, **kwargs)
Bases: Tag
Defines a text that has been inserted into a document
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 |
|
Map
Map(*children, name=None, class_=None, id=None, style=None, **kwargs)
Bases: Tag
Defines an image map
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 |
|
Menu
Menu(*children, compact=None, class_=None, id=None, style=None, **kwargs)
Bases: Tag
Defines a menu list
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 |
|
Meta
Meta(*children, charset=None, content=None, http_equiv=None, media=None, name=None, class_=None, id=None, **kwargs)
Bases: Tag
Defines metadata about an HTML document
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
Tags, strings, or other rendered content. |
()
|
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
|
str | float | int | bool
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1668 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: Tag
Defines a scalar measurement within a known range (a gauge)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | float | int | bool
|
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 |
|