Td
class Td(attributes: Attributes, classes: ClassesInterface, colSpan: ColSpanInterface, children: List<TagInterface>) : AbstractTagBuilder<TagInterface> , TdInterface
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(attributes: Attributes, classes: ClassesInterface, colSpan: ColSpanInterface, vararg children: TagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, colSpan: ColSpanInterface, children: List<TagInterface>)