The CSS property font-________ is used to specify the typeface or font family.
- family
- type
- face
- family
The correct option is family. The font-family property in CSS is used to define the typeface or font family for an element. It allows you to specify multiple font choices, ensuring a fallback in case the preferred font is not available.
Loading...
Related Quiz
- When using the "vertical-align" property, what does the value "baseline" represent?
- To optimize the critical rendering path, it's important to ensure that ________ CSS is loaded as quickly as possible.
- You've been asked to ensure that a custom web font falls back to a system font if it doesn't load within 3 seconds. How would you implement this?
- In a responsive design, the term ______ is used to describe a layout that adjusts and looks good on all screen sizes.
- You've noticed that your web fonts are causing a delay in page rendering. Which property can you adjust to control how these fonts are displayed during the load process?