How to set the font of text
Example analysis:
font - The family attribute specifies the font of an element.
The font-family property can save multiple font names as a "fallback" system. If the browser doesn't support the first font, it will try the next one.
There are two types of font family names:
family-name: Specified family name: the name of the specific font, such as: " times", "courier", "arial".
generic-family: Usually font family name: such as: "serif", "sans-serif", "cursive", "fantasy", "monospace.
Using a specific font family (Geneva) depends entirely on whether that font family is available on the user's machine; this attribute does not indicate any font download. Therefore, using a generic font family name as a fallback is highly recommended.
Note: Separate each value with a comma.
Note: If the font name contains spaces, it must be enclosed in quotes. In HTML When using the "style" attribute, you must use single quotes.