Exercice 1 :
1 - Ajouter le code html approprié pour afficher un titre principal content "HTML" au dessus du paragraphe.
2 - Ajouter 6 titres principaux par ordre d'importance ( du plus important au moins important ) contenant "Hello"
3 - Ajouter les balises appropriées : 3 gros titres ( le titre le plus important étant UpTo Fourmies, le moins important
A propos ) et un paragraphe contenant le dernier morceau de texte.
4 - Compléter le code html manquant
Théorie :
Les titres principaux ( Headings ) sont utilisés dans la structure de vos pages pour marquer les titres principaux du contenu de votre page web.
On utilise la balise h1 jusqu'a h6, h1 représentant le titre principal, h6 étant le ou les titres le moins important de la page.
Chaque balise h1,h2 etc... dipose de sa propre taille de texte par défaut, mais il vous est possible de redéfinir cette taille grâce au css.
Exemple :
h1 { font-size : 20px; }
Les balises h1 auront une taille de texte de 20 pixels