Tags

Tag <tr>

|

Definições e uso

A tag <tr> define uma linha em uma tabela HTML

Um elemento <tr> contém um ou mais elementos <th> ou <td>

Exemplos


<table>
    <tr>
        <th>Month</th>
        <th>Savings</th>
    </tr>
    <tr>
        <td>January</td>
        <td>$100</td>
    </tr>
    <tr>
        <td>February</td>
        <td>$80</td>
    </tr>
<table>
                        

Exemplo

Resultado

Atributos

Esta tag também suporta Atributos Globais.