Stylesheets Guide Reference 1 – Text Properties
Name of Property |
Rule syntax | Possible values |
font-family | <selector> {font-family:<value>} | <family-name> (specify) or <generic-family>~ [serif, sans-serif*, cursive*, fantasy*, monospace] |
font-style | <selector> {font-style:<value>} | normal, italic |
font-weight | <selector> {font-weight:<value>} | normal*, bold, 100*, 200*, 300*, 400*, 500*, 600*, 700*, 800*, 900* |
font-size | <selector> {font-size:<value>} | <absolute-size>, <relative-size>*, <length>~~, <percentage> |
font $ | <selector> {font:<value>} | <font-style>~~, <font-weight>*, <font-size>**, <font-family>** |
Text-decoration | <selector>{text-decoration:<value>} | underline, line-through |
text-transform | <selector>{text-transform:<value>} | capitalize*, uppercase*, lowercase*, none* |
text-align | <selector>{text-align:<value>} | left, right, center, justify* |
text-indent | <selector>{text-indent:<value>} | <length>, <percentage> |