Table row

tr

The tr element defines a single row of a table. It is the principal type of element used by a table. Table rows comprise a set of table data, defined with "td" elements.

The "tr" semantax is implied when it appears as an immediate descendent of a "table" element. You can omit the semantax in these cases.

Examples

table {
tr {
td AR
td Argentina
}
tr {
td BE
td Belgium
}
tr {
td CA
td Canada
}
}
Table using explicit "tr" semantax

table {
{
td AR
td Argentina
}
{
td BE
td Belgium
}
{
td CA
td Canada
}
}
Table using implied "tr" semantax

table {
{
td AR
td Argentina
},{
td BE
td Belgium
},{
td CA
td Canada
}
}
Table using tight curly-brace syntax
0

semantax > row-column > trTable row

🔗 🔎