balise htmltr


  Résultats de traduction:

abbr.Turquie Turquie

balise htmltrsyntaxe

Fonction : Définissez les lignes dans les tableaux HTML.

Explication : L'élément tr contient un ou plusieurs éléments th ou td.

Remarque : Tous les navigateurs prennent en charge la balise <tr>

balise htmltrexemple

<html>
<body>

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>0</td>
  </tr>
</table>

</body>
</html>

Exécuter l'instance »

Cliquez sur le bouton « Exécuter l'instance » pour afficher l'instance en ligne

<html>
  <meta charset="utf-8">
<body>

<table border="1">
  <tr>
    <th>姓名</th>
    <th>年龄</th>
    <th>职位</th>
  </tr>
  <tr>
    <td>西门大官人</td>
    <td>26</td>
    <td>PHP高级讲师</td>
  </tr>
  <tr>
    <td>欧阳克</td>
    <td>28</td>
    <td>PHP高级讲师</td>
  </tr>
</table>

</body>
</html>

Exécuter l'instance »

Cliquez sur le bouton « Exécuter l'instance » pour afficher l'instance en ligne

Recommandations populaires

Maison

vidéos

Questions et réponses