Which of the following property sets a variation of the specified or default font family?

fonts
font-style
font-variant
font-weight

The correct answer is C. font-variant.

The font-variant property sets a variation of the specified or default font family. It can be used to set the font to be normal, small caps, or all caps.

The font-style property sets the style of the font. It can be used to set the font to be normal, italic, or oblique.

The font-weight property sets the weight of the font. It can be used to set the font to be normal, bold, or bolder.

The fonts property is a shorthand property that sets the font family, font style, font weight, and font size. It can be used to set all of these properties at once.

Exit mobile version