Police de caractères (ou police d'écriture).
Définir un style général de caractères.
Une police est déclinable en différentes fontes.
font-family: "Times New Roman", Times, serif;
| Code | |
|---|---|
| CSS | font-family: "Times New Roman", Times, serif; |
| HTML | <font <strong>face</strong>=<span class="codeString">"MyPolice"</span>> |
| Java | someGraphics.<strong>setFont</strong>(new java.awt.<strong>Font</strong>(<span class="codeString">"MyPolice"</span>));
|