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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 |
|
Script
Script(
text_child="",
/,
*,
src=None,
type=None,
async_=False,
defer=False,
nomodule=False,
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
|
Fetch in parallel and execute as soon as ready; order is not guaranteed. |
False
|
defer
|
bool
|
Execute after parsing (classic scripts only; modules defer by default). |
False
|
nomodule
|
bool
|
Do not execute on browsers that support ES modules. |
False
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
|
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
Source code in src/air/tags/models/stock.py
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
|
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 (
Source code in src/air/tags/models/stock.py
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
|