Q
How can you set italic text using CSS?

Answer & Solution

Answer: Option A
Solution:
To set italic text using CSS, you use the font-style: italic; property. Example: font-style: italic;
Related Questions on Average

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;

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

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 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 property is used to specify the size and style of the font at once?

A). font: italic bold 16px Arial;

B). font-style: italic bold 16px Arial;

C). font-family: Arial;

D). font-size: 16px;

How can you make text appear in uppercase using CSS?

A). text-transform: uppercase;

B). font-transform: uppercase;

C). transform: uppercase;

D). text-style: uppercase;

What does the font-size property do in CSS?

A). It sets the font weight.

B). It sets the font size.

C). It sets the font style.

D). It sets the font family.

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;

What does the font-weight property do in CSS?

A). It sets the font size.

B). It sets the font weight.

C). It sets the font style.

D). It sets the font family.

Which property is used to set the size of the font?

A). font-size: 14px;

B). text-size: 16px;

C). size: 12px;

D). font-type: 18px;