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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
243 244 245 246 247 248 249 250 251 252 253 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
267 268 269 270 271 272 273 274 275 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
314 315 316 317 318 319 320 321 322 323 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
424 425 426 427 428 429 430 431 432 433 434 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
514 515 516 517 518 519 520 521 522 523 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
538 539 540 541 542 543 544 545 546 547 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
562 563 564 565 566 567 568 569 570 571 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
609 610 611 612 613 614 615 616 617 618 619 |
|
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
|
AttributesType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
656 657 658 659 660 661 662 663 664 665 |
|
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
|
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
702 703 704 705 706 707 708 709 710 711 |
|