Update index.md (#20151)
This commit is contained in:
committed by
Christopher McCormack
parent
62139160f5
commit
c09dce92dd
@ -16,7 +16,8 @@ p {
|
||||
```
|
||||
In the above example, "Times New Roman" is the <family-name> of the font, while "serif" is the <generic-name>. Generic names are used as a fallback
|
||||
mechanism for preserving style if the family-name is unavailable. A generic name should always be the last item in the list of font family names. Generic
|
||||
family names are serif, sans-serif, monospace, cursive, fantasy, system-ui.
|
||||
family names are serif, sans-serif, monospace, cursive, fantasy, system-ui.
|
||||
In addition to specifying common fonts that are found on most operating systems, custom web fonts can be used as well. To import such a font, copy the font URL from the library and reference it in the HTML.
|
||||
|
||||
### Font style
|
||||
The `font-style` property can be used to specify italic text.
|
||||
|
Reference in New Issue
Block a user