Tags A-D
A
A(
*children,
href=None,
target=None,
download=None,
rel=None,
hreflang=None,
type=None,
referrerpolicy=None,
media=None,
ping=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a hyperlink
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
href
|
str | None
|
Specifies the URL of the page the link goes to. |
None
|
target
|
str | None
|
Specifies where to open the linked document. |
None
|
download
|
str | None
|
Specifies that the target will be downloaded when a user clicks on the hyperlink. |
None
|
rel
|
str | None
|
Specifies the relationship between the current document and the linked document. |
None
|
hreflang
|
str | None
|
Specifies the language of the linked document. |
None
|
type
|
str | None
|
Specifies the media type of the linked document. |
None
|
referrerpolicy
|
str | None
|
Specifies which referrer information to send with the link. |
None
|
media
|
str | None
|
Specifies what media/device the linked document is optimized for. |
None
|
ping
|
str | None
|
Specifies a space-separated list of URLs to which, when the link is followed, post requests with the body ping will be sent by the browser (in the background). Typically used for tracking. |
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
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | |
Area
Area(
*,
alt=None,
coords=None,
download=None,
href=None,
ping=None,
referrerpolicy=None,
rel=None,
shape=None,
target=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Defines an area inside an image map
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
alt
|
str | None
|
Specifies an alternate text for an area. Required if the href attribute is present. |
None
|
coords
|
str | None
|
Specifies the coordinates of an area. |
None
|
download
|
str | None
|
Specifies that the target will be downloaded when a user clicks on the hyperlink. |
None
|
href
|
str | None
|
Specifies the URL of the page the link goes to. |
None
|
ping
|
str | None
|
Specifies a space-separated list of URLs to which, when the link is followed, post requests with the body ping will be sent by the browser (in the background). Typically used for tracking. |
None
|
referrerpolicy
|
str | None
|
Specifies which referrer information to send with the link. |
None
|
rel
|
str | None
|
Specifies the relationship between the current document and the linked document. |
None
|
shape
|
str | None
|
Specifies the shape of an area. |
None
|
target
|
str | None
|
Specifies where to open the linked document. |
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
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
Audio
Audio(
*children,
autoplay=None,
controls=None,
loop=None,
muted=None,
preload=None,
src=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines embedded sound content
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
autoplay
|
str | None
|
Specifies that the audio will start playing as soon as it is ready. |
None
|
controls
|
str | None
|
Specifies that audio controls should be displayed (such as a play/pause button etc). |
None
|
loop
|
str | None
|
Specifies that the audio will start over again, every time it is finished. |
None
|
muted
|
str | None
|
Specifies that the audio output should be muted. |
None
|
preload
|
str | None
|
Specifies if and how the author thinks the audio should be loaded when the page loads. |
None
|
src
|
str | None
|
Specifies the URL of the audio file. |
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
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | |
Base
Base(
*,
href=None,
target=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Specifies the base URL/target for all relative URLs in a document
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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
255 256 257 258 259 260 261 262 263 264 265 | |
Bdi
Bdi(*children, class_=None, id=None, style=None, **kwargs)
Bases: BaseTag
Isolates a part of text that might be formatted in a different direction from other text outside it
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
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
279 280 281 282 283 284 285 286 287 | |
Blockquote
Blockquote(
*children,
cite=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a section that is quoted from another source
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cite
|
str | None
|
Specifies 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
326 327 328 329 330 331 332 333 334 335 | |
Button
Button(
*children,
name=None,
type=None,
value=None,
autofocus=None,
disabled=None,
form=None,
formaction=None,
formenctype=None,
formmethod=None,
formnovalidate=None,
formtarget=None,
popovertarget=None,
popovertargetaction=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a clickable button
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
name
|
str | None
|
Specifies a name for the button. |
None
|
type
|
str | None
|
Specifies the type of button. |
None
|
value
|
str | None
|
Specifies an initial value for the button. |
None
|
autofocus
|
str | None
|
Specifies that a button should automatically get focus when the page loads. |
None
|
disabled
|
str | None
|
Specifies that a button should be disabled. |
None
|
form
|
str | None
|
Specifies which form the button belongs to. |
None
|
formaction
|
str | None
|
Specifies where to send the form-data when a form is submitted. Only for type="submit". |
None
|
formenctype
|
str | None
|
Specifies how the form-data should be encoded before sending it to a server. Only for type="submit". |
None
|
formmethod
|
str | None
|
Specifies how to send the form-data (which HTTP method to use). Only for type="submit". |
None
|
formnovalidate
|
str | None
|
Specifies that the form-data should not be validated on submission. Only for type="submit". |
None
|
formtarget
|
str | None
|
Specifies where to display the response that is received after submitting the form. Only for type="submit". |
None
|
popovertarget
|
str | None
|
Specifies which popover element to invoke. |
None
|
popovertargetaction
|
str | None
|
Specifies what action to perform on the popover 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
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | |
Canvas
Canvas(
*children,
width=None,
height=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Used to draw graphics, on the fly, via scripting (usually JavaScript)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
width
|
str | int | None
|
Specifies the width of the canvas. |
None
|
height
|
str | int | None
|
Specifies the height of the canvas. |
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
438 439 440 441 442 443 444 445 446 447 448 | |
Col
Col(
*, span=None, class_=None, id=None, style=None, **kwargs
)
Bases: SelfClosingTag
Specifies column properties for each column within a
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
span
|
str | None
|
Specifies the number of columns a |
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
528 529 530 531 532 533 534 535 536 537 | |
Colgroup
Colgroup(
*children,
span=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Specifies a group of one or more columns in a table for formatting
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
span
|
str | None
|
Specifies the number of columns a |
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
552 553 554 555 556 557 558 559 560 561 | |
Data
Data(
*children,
value=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Adds a machine-readable translation of a given content
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
value
|
str | None
|
Specifies the machine-readable translation of the 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
576 577 578 579 580 581 582 583 584 585 | |
Dd
Dd(
*children,
cite=None,
datetime=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a description/value of a term in a description list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cite
|
str | None
|
Specifies the source of the quotation. |
None
|
datetime
|
str | None
|
Specifies the date and time 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
623 624 625 626 627 628 629 630 631 632 633 | |
Details
Details(
*children,
open=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines additional details that the user can view or hide
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
open
|
str | None
|
Specifies that the details should be visible (open) to the user. |
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
670 671 672 673 674 675 676 677 678 679 | |
Dialog
Dialog(
*children,
open=None,
class_=None,
id_=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a dialog box or window
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
open
|
str | None
|
Specifies that the dialog box should be visible (open) to the user. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
DOM ID attribute. |
required | |
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
716 717 718 719 720 721 722 723 724 725 | |