Historique des conversations
Chargement...
Voici des propositions de solutions en mode console (via readline()). N’hésite pas à les adapter.
Crée un tableau 2x2. Une ligne d'en-tête (Nom, Âge) et une ligne de données (Alice, 25).
<table>
<tr>
<th>Nom</th>
<th>Âge</th>
</tr>
<tr>
<td>Alice</td>
<td>25</td>
</tr>
</table>
Fusionne deux cellules horizontalement avec colspan.
<table>
<tr>
<td colspan="2">Titre fusionné</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
</tr>
</table>
Fusionne deux cellules verticalement avec rowspan.
<table>
<tr>
<td rowspan="2">Fusion verticale</td>
<td>Ligne 1</td>
</tr>
<tr>
<td>Ligne 2</td>
</tr>
</table>
Ajoute une légende (caption) à ton tableau : 'Liste des inscrits'.
<table>
<caption>Liste des inscrits</caption>
<tr>
<td>Alice</td>
</tr>
</table>
Utilise thead, tbody et tfoot pour structurer un tableau.
<table>
<thead>
<tr><th>Produit</th><th>Prix</th></tr>
</thead>
<tbody>
<tr><td>Pomme</td><td>1€</td></tr>
</tbody>
<tfoot>
<tr><td>Total</td><td>1€</td></tr>
</tfoot>
</table>