Tags N-S
Object
Object(
*children,
archive=None,
border=None,
classid=None,
codebase=None,
codetype=None,
data=None,
declare=None,
form=None,
height=None,
name=None,
standby=None,
type=None,
usemap=None,
width=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an embedded object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
archive
|
str | None
|
A space-separated list of URIs for archives of resources for the object. |
None
|
border
|
str | None
|
The width of a border around the object. |
None
|
classidcodebase
|
The codebase URL for the object. |
required | |
codetype
|
str | None
|
The content type of the code. |
None
|
data
|
str | None
|
The address of the object's data. |
None
|
declare
|
str | None
|
Declares the object without instantiating it. |
None
|
form
|
str | None
|
The form the object belongs to. |
None
|
height
|
str | int | None
|
The height of the object. |
None
|
name
|
str | None
|
The name of the object. |
None
|
standby
|
str | None
|
A message to display while the object is loading. |
None
|
type
|
str | None
|
The content type of the data. |
None
|
usemap
|
str | None
|
The name of a client-side image map to be used with the object. |
None
|
width
|
str | int | None
|
The width of the object. |
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
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 | |
Ol
Ol(
*children,
compact=None,
reversed=None,
start=None,
type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an ordered list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
compact
|
str | None
|
Specifies that the list should be rendered in a compact style. |
None
|
reversed
|
str | None
|
Specifies that the list order should be descending. |
None
|
start
|
str | None
|
Specifies the start value of an ordered list. |
None
|
type
|
str | None
|
Specifies the kind of marker to use in the list. |
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
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 | |
Optgroup
Optgroup(
*children,
disabled=None,
label=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a group of related options in a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
disabled
|
str | None
|
Indicates if items in the option group are not selectable. |
None
|
label
|
str | None
|
Specifies a label for the group of options. |
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
1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 | |
Option
Option(
*children,
disabled=None,
label=None,
selected=None,
value=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an option in a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
disabled
|
str | None
|
Indicates if the option is not selectable. |
None
|
label
|
str | None
|
Specifies a label for the option indicating the meaning of the option. |
None
|
selected
|
bool | None
|
Specifies that the option should be pre-selected. |
None
|
value
|
str | None
|
Specifies the value to be sent with 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
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 | |
Output
Output(
*children,
for_=None,
form=None,
name=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines the result of a calculation
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
for_
|
str | None
|
Lists the IDs of the elements that contributed to the calculation. |
None
|
form
|
str | None
|
Associates the output with a form element. |
None
|
name
|
str | None
|
Defines a name for the output element. |
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
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 | |
Pre
Pre(
*children,
width=None,
wrap=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines preformatted text
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
width
|
str | int | None
|
preferred counf of characters that a line should have |
None
|
wrap
|
str | None
|
hint indicating how overflow must happen |
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
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 | |
Progress
Progress(
*children,
max=None,
value=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Represents the progress of a task
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
max
|
str | None
|
The maximum value of the progress bar. |
None
|
value
|
str | None
|
The current value of the progress bar. |
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
2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 | |
Q
Q(
*children,
cite=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a short quotation
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cite
|
str | None
|
Specifies a URL to the source of the quotation. |
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
2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 | |
Script
Script(
text_child="",
/,
*,
src=None,
type=None,
async_=None,
defer=None,
nomodule=None,
crossorigin=None,
integrity=None,
referrerpolicy=None,
fetchpriority=None,
blocking=None,
attributionsrc=None,
nonce=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: UnSafeTag
Defines a client-side script. Warning: Script tag does not protect against code injection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text_child
|
str
|
Inline script code. Use an empty string when providing |
''
|
src
|
str | None
|
URI of the external script. |
None
|
type
|
str | None
|
Script type. Examples: |
None
|
async_
|
bool | None
|
Fetch in parallel and execute as soon as ready; order is not guaranteed. |
None
|
defer
|
bool | None
|
Execute after parsing (classic scripts only; modules defer by default). |
None
|
nomodule
|
bool | None
|
Do not execute on browsers that support ES modules. |
None
|
crossorigin
|
Literal['anonymous', 'use-credentials'] | None
|
CORS mode. One of |
None
|
integrity
|
str | None
|
Subresource Integrity hash (e.g. |
None
|
referrerpolicy
|
Literal['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'] | None
|
Which referrer to send. One of:
|
None
|
fetchpriority
|
Literal['high', 'low', 'auto'] | None
|
Network priority hint. One of |
None
|
blocking
|
Literal['render'] | None
|
Space-separated tokens that block operations; currently |
None
|
attributionsrc
|
str | None
|
Space-separated URLs for Attribution Reporting (experimental). |
None
|
nonce
|
str | None
|
CSP nonce (meaning: one-time token) to allow this inline script. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | |
Select
Select(
*children,
autocomplete=None,
autofocus=None,
disabled=None,
form=None,
multiple=None,
name=None,
required=None,
size=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
autocomplete
|
str | None
|
Hint for a user agent's autocomplete feature. |
None
|
autofocus
|
str | None
|
Indicate that a form control should have input focus when the page loads. |
None
|
disabled
|
str | None
|
Indicates that the user cannot interact with the control. |
None
|
form
|
str | None
|
Associates the drop-down list with a form element. |
None
|
multiple
|
str | None
|
Indicates that multiple options can be selected at once. |
None
|
name
|
str | None
|
Specifies the name of the drop-down list. |
None
|
required
|
str | None
|
Indicates that an option must be selected before the form can be submitted. |
None
|
size
|
str | None
|
If drop-down list is a scrolling list box, specifies the number of visible options. |
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
2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 | |
Source
Source(
*children,
src=None,
type=None,
sizes=None,
media=None,
srcset=None,
height=None,
width=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines multiple media resources for media elements (
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
src
|
str | None
|
Specifies the URL of the media resource. |
None
|
type
|
str | None
|
Specifies the MIME type of the media resource. |
None
|
sizes
|
str | None
|
List of source sizes that describe the final rendered width of the image. |
None
|
media
|
str | None
|
Specifies the media query for the media resource. |
None
|
srcset
|
str | None
|
Specifies a list of one or more image URLs and their descriptors. |
None
|
height
|
str | int | None
|
Specifies the height of the media resource. |
None
|
width
|
str | int | None
|
Specifies the width of the media resource. |
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
2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 | |
Style
Style(
text_child="",
/,
*,
media=None,
title=None,
blocking=None,
nonce=None,
type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: UnSafeTag
Defines style information for a document. Warning: Style tag does not protect against code injection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text_child
|
str
|
CSS stylesheet text. |
''
|
media
|
str | None
|
Media query (e.g. |
None
|
title
|
str | None
|
Title for alternate style sheet sets. |
None
|
blocking
|
Literal['render'] | None
|
Space-separated tokens that block operations; currently |
None
|
nonce
|
str | None
|
CSP nonce (meaning: one-time token) to allow this inline style. |
None
|
type
|
str | None
|
(Deprecated) Only |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | |