Module moxie_dom::elements::text_content[][src]

Use HTML text content elements to organize blocks or sections of content placed between the opening <body> and closing </body> tags. Important for accessibility and SEO, these elements identify the purpose or structure of that content.

Structs

Blockquote

The HTML <blockquote> element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

BlockquoteBuilder

The HTML <blockquote> element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

Dd

The HTML <dd> element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).

DdBuilder

The HTML <dd> element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).

Div

The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS.

DivBuilder

The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS.

Dl

The HTML <dl> element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).

DlBuilder

The HTML <dl> element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).

Dt

The HTML <dt> element specifies a term in a description or definition list, and as such must be used inside a <dl> element.

DtBuilder

The HTML <dt> element specifies a term in a description or definition list, and as such must be used inside a <dl> element.

Figcaption

The HTML <figcaption> or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure> element.

FigcaptionBuilder

The HTML <figcaption> or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure> element.

Figure

The HTML <figure> (Figure With Optional Caption) element represents self-contained content, potentially with an optional caption, which is specified using the (<figcaption>) element.

FigureBuilder

The HTML <figure> (Figure With Optional Caption) element represents self-contained content, potentially with an optional caption, which is specified using the (<figcaption>) element.

Hr

The HTML <hr> element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.

HrBuilder

The HTML <hr> element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.

Li

The HTML <li> element is used to represent an item in a list.

LiBuilder

The HTML <li> element is used to represent an item in a list.

Ol

The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.

OlBuilder

The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.

P

The HTML <p> element represents a paragraph.

PBuilder

The HTML <p> element represents a paragraph.

Pre

The HTML <pre> element represents preformatted text which is to be presented exactly as written in the HTML file.

PreBuilder

The HTML <pre> element represents preformatted text which is to be presented exactly as written in the HTML file.

Ul

The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.

UlBuilder

The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.

Functions

blockquote

The HTML <blockquote> element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

dd

The HTML <dd> element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).

div

The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS.

dl

The HTML <dl> element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).

dt

The HTML <dt> element specifies a term in a description or definition list, and as such must be used inside a <dl> element.

figcaption

The HTML <figcaption> or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure> element.

figure

The HTML <figure> (Figure With Optional Caption) element represents self-contained content, potentially with an optional caption, which is specified using the (<figcaption>) element.

hr

The HTML <hr> element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.

li

The HTML <li> element is used to represent an item in a list.

ol

The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.

p

The HTML <p> element represents a paragraph.

pre

The HTML <pre> element represents preformatted text which is to be presented exactly as written in the HTML file.

ul

The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.