Propriétés CSS : font-weight
| Description | La propriété CSS font-weight permet de spécifier dans la feuille de style le gras de la police. Valeurs de la propriété CSS font-weight : - lighter : le texte est affiché en léger. - normal : le texte est affiché en normal. - bold : le texte est affiché en gras. - bolder : le texte est affiché en très gras. - 100 (lighter), 200, 300, 400 (normal), 500, 600, 700 (bold), 800, 900 (bolder). |
||
|---|---|---|---|
| Publicité |
|
||
| Solution | p{ font-weight: bold; } // Valeur différente pour tous les liens contenus entre les balises HTML <p> et </p> p a{ font-weight: normal; } |
||
| Notez la solution |
|
||
| Partagez cette question |
|
||
| Questions similaires | Propriétés CSS : font-family Propriétés CSS : font-size Propriétés CSS : font-style |
||
| Mots clés | font-weight, css, gras, bold |