Td

In HTML, the <td> tag is used to define a single cell (data cell) within an HTML table. It stands for "table data" and is used to contain data (such as text, images, links, etc.) within a row (<tr>) of a table.

Data cells (<td> elements) are typically used to display tabular data, such as information in a database, spreadsheet, or any other structured data source. Each <td> element represents one piece of data within a row of the table. The number of <td> elements in each row should match the number of columns defined in the table header (<th>) or in the first row of the table if no <thead> section is used.

(ChatGPT, February 26, 2024)

Constructors

Link copied to clipboard
constructor(vararg children: TagInterface)
constructor(attributes: Attributes, vararg children: TagInterface)
constructor(classes: ClassesInterface, vararg children: TagInterface)
constructor(colSpan: ColSpanInterface, vararg children: TagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, vararg children: TagInterface)
constructor(attributes: Attributes, colSpan: ColSpanInterface, vararg children: TagInterface)
constructor(classes: ClassesInterface, colSpan: ColSpanInterface, vararg children: TagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, colSpan: ColSpanInterface, vararg children: TagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, colSpan: ColSpanInterface, children: List<TagInterface>)

Functions

Link copied to clipboard
open override fun build(): TagInterface
Link copied to clipboard
fun string(): String