Avec quelques connaissances
Résumé de section
-
-
Sous-titre 1 Section 1 de niveau 2
<h2 style="background-color:#46b29d; color:#fff; text-align:center; padding:0.5rem">Sous-titre 1 Section 1 de niveau 2</h2>
Sous-titre 1 Section 1 de niveau 3
<h3 style="background-color:#46b29d; color:#fff; text-align:center; padding:0.5rem">Sous-titre 1 Section 1 de niveau 3</h3>
Sous-titre 1 Section 1 de niveau 4
<h4 style="background-color:#46b29d; color:#fff; text-align:center; padding:0.5rem">Sous-titre 1 Section 1 de niveau 4</h4>
-
Pour l'usage de ce code :
h2 h3 h4 -> niveau de titre (taille de police)
background-color -> couleur de l'arrière-plan de l'étiquette
color -> couleur du texte (blanc : #fff - noir : #000)
padding -> espace autour du textePour les couleurs le format est hexadécimal. Vous pouvez consulter ce site pour trouver la couleur qui vous convient : htmlcolorcodes.com/fr/
Si vous voulez reprendre une couleur d'une page Internet : l'extension Colorzilla pour Chrome https://www.colorzilla.com/chrome/ et pour firefox : https://addons.mozilla.org/fr/firefox/addon/colorzilla/ est très pratique.
-