Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document </title> <style> .all-small-caps { font-variant-caps: all-small-caps; font-style: italic; } .small-caps { font-variant-caps: small-caps; font-style: italic; } .normal { font-variant-caps: normal; font-style: italic; } </style> </head> <body> <h2>Exemple de la propriété font-variant-caps</h2> <p class="all-small-caps"> La propriété CSS font-variant-caps contrôle l'utilisation des glyphs altérnatifs pour lettres majuscules. </p> <p class="small-caps">Small caps!</p> <p class="normal">Normal caps!</p> </body> </html>