-
-
Save codecademydev/4cf16ab9960ccf73051b11ce6812d30e to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table { | |
border-collapse: collapse; | |
margin:auto; | |
font-weight: Arial, sans-serif; | |
background-color: gainsboro; | |
} | |
td { | |
border: 1px solid violet; | |
} | |
h1 { | |
text-align: center; | |
} | |
h2 { | |
color: rebeccapurple; | |
text-align: center; | |
font-size: 1.5em; | |
font-weight: bold; | |
} | |
th { | |
background-color: violet; | |
} | |
tr{ | |
display: table-row; | |
vertical-align: inherit; | |
border-color: inherit; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Revison</title> | |
<link rel="stylesheet" type="text/css" href="index.css"> | |
</head> | |
<body> | |
<h1>Référence de table HTML</h1> | |
<h2>Balises de table</h2> | |
<table > | |
<thead> | |
<tr> | |
<th scope="col">Étiquter</th> | |
<th scope="col">Nom</th> | |
<th scope="col">La description</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td><table></td> | |
<td>Tableau</td> | |
<td>L'élément wrapper pour tous les tableaux HTML</td> | |
</tr> | |
<tr> | |
<td><thead></td> | |
<td>Tête de tableau</td> | |
<td>Ensemble de lignes définissant les en-têtes de colonne dans un tableau.</td> | |
</tr> | |
<tr> | |
<td><tbody></td> | |
<td>Corps de la table</td> | |
<td> Ensemble de lignes contenant des données de table réelles.</td> | |
</tr> | |
<tr> | |
<td><tr></td> | |
<td>Ligne de tableau</td> | |
<td>Le conteneur de ligne de table</td> | |
</tr> | |
<tr> | |
<td><td></td> | |
<td>Données de table</td> | |
<td>Le conteneur de ligne de table.</td> | |
</tr> | |
</tr> | |
<tr> | |
<td><tfoot></td> | |
<td>Pied de table</td> | |
<td>Ensemble de lignes définissant le pied de page dans un tableau.</td> <br> | |
</tbody> | |
</table> | |
</body> | |
<body> | |
<h2>Attributs de table</h2> | |
<table> | |
<thead> | |
<tr> | |
<th>Attribut</th> | |
<th>Nom</th> | |
<th>La desciption</th> | |
</tr> | |
<tr> | |
<td><colspan></td> | |
<td>Portée de la colonne</td> | |
<td>Définit le nombre de colonnes qu'un élément td doit couvrir.</td> | |
</tr> | |
<tr> | |
<td><rowspan></td> | |
<td>Envergure de la ligne</td> | |
<td>Définit le nombre de lignes qu'un élément td doit couvrir.</td> | |
</tr> | |
</thead> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTML
On line 45 you have a closing tag that does not close anything.
On line 46 you have a open tag that doesn't have a corresponding closing tag.
You have two body elements and convention states that you should have only one. If you want to add a second block, you should wrap things up with sections, articles or divs, what happens to be the best option.