CSS allows you to change the typeface of text. Which of the following statements about the font-family property is true?

a. If you list multiple fonts in the font-family property, the next font will attempt to render if the first font is not supported.

b. You can only list a single font in the font-family property.

c. If you list a single, multi-word font in the font-family property, you must enclose the font name within curly braces.

d. If you list multiple fonts in the font-family property, the text will not render if the first font is not supported.

Answer :

Final answer:

The correct statement about the CSS font-family property is that multiple fonts can be listed as a fallback mechanism, and the browser will attempt to use the next font if the first is not available.

Explanation:

CSS font-family Property

The font-family property in CSS is used to specify the typeface of text within an element. When it comes to changing the typeface of text, the correct statement about the font-family property is that if you list multiple fonts, the next font in the list will be attempted to render if the first choice font is not available on the user's system. This provides a fallback mechanism to ensure that the content is still readable, even if the preferred font cannot be loaded.

When listing a font name that consists of multiple words, you need to enclose the font name in quotation marks, not curly braces. For example, a correct font-family specification for a font like Times New Roman would be font-family: "Times New Roman", serif;. The last option in the font-family list is typically a generic family name like serif, sans-serif, monospace, which acts as the final fallback.