Skip to content

Commit

Permalink
Update exercice2.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Makrix78 authored Jan 7, 2025
1 parent 5ec4845 commit 025d6f2
Showing 1 changed file with 25 additions and 42 deletions.
67 changes: 25 additions & 42 deletions templates/exercice2.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,48 +63,31 @@
</body>
</html>

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tableau HTML</title>
<style>
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid black;
padding: 8px;
text-align: center;
}
</style>
</head>
<body>
<table>
<tr>
<td rowspan="2">Colonne 1 (2 lignes)</td>
<td>Colonne 2, Ligne 1</td>
<td rowspan="2">Colonne 3 (2 lignes)</td>
<td>Colonne 4, Ligne 1</td>
</tr>
<tr>
<td>Colonne 2, Ligne 2</td>
<td>Colonne 4, Ligne 2</td>
</tr>
<tr>
<td>Colonne 2, Ligne 3</td>
<td rowspan="2">Colonne 4, Ligne 3.1</td>
<td>Colonne 4, Ligne 3.2</td>
</tr>
<tr>
<td>Colonne 2, Ligne 4</td>
<td>Colonne 4, Ligne 4</td>
</tr>
</table>
</body>
</html>
<table>
<tr>
<th>Animaux</th>
</tr>
<tr>
<th>Hippopotame</th>
</tr>
<tr>
<th>Cheval</th>
<td>Jument</td>
</tr>
<tr>
<td>Étalon</td>
</tr>
<tr>
<th>Crocodile</th>
</tr>
<tr>
<th>Poulet</th>
<td>Poule</td>
</tr>
<tr>
<td>Coq</td>
</tr>
</table>



0 comments on commit 025d6f2

Please sign in to comment.