Q
What does the font-style property do in CSS?

Answer & Solution

Answer: Option C
Solution:
The font-style property in CSS is used to set the font style, such as normal, italic, or oblique. Example: font-style: italic;
Related Questions on Average

Which CSS property is used to specify the weight of the font?

A). font-weight: bold;

B). font-style: italic;

C). font-size: 12px;

D). text-weight: normal;

Which CSS property is used to define the font family?

A). <span style='font-family: Arial;'>Arial

B). <span style='font-family: Helvetica;'>Helvetica

C). <span style='font-family: Times New Roman;'>Times New Roman

D). <span style='font-family: Courier;'>Courier

Which property is used to specify the style of the text, such as normal, italic, or oblique?

A). font-style: italic;

B). text-style: italic;

C). style: italic;

D). font-type: italic;

How can you underline text using CSS?

A). text-decoration: underline;

B). font-decoration: underline;

C). decoration: underline;

D). text-style: underline;

How can you make text appear in lowercase using CSS?

A). text-transform: lowercase;

B). font-transform: lowercase;

C). transform: lowercase;

D). text-style: lowercase;

Which property is used to specify whether the text should be in uppercase, lowercase, or capitalized?

A). text-transform: capitalize;

B). font-transform: capitalize;

C). transform: capitalize;

D). text-style: capitalize;

Which property is used to specify the color of the text?

A). color: #000000;

B). text-color: red;

C). font-color: blue;

D). text-style: color;

How can you set italic text using CSS?

A). font-style: italic;

B). text-style: italic;

C). italic: true;

D). font-italic: true;

How can you make text bold using CSS?

A). font-weight: bold;

B). font-style: bold;

C). text-weight: bold;

D). font-bold: true;

How can you make text appear smaller than the rest of the text on a page?

A). font-size: smaller;

B). font-size: 10px;

C). font-type: smaller;

D). font-size: 14px;