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

Answer & Solution

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

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 whether the text should be in uppercase or lowercase?

A). text-transform: uppercase;

B). font-transform: uppercase;

C). case: uppercase;

D). transform: uppercase;

How can you set text to have no decoration using CSS?

A). text-decoration: none;

B). decoration: none;

C). text-style: none;

D). font-decoration: none;

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;

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.

How can you make text bold using CSS?

A). font-weight: bold;

B). font-style: bold;

C). text-weight: bold;

D). font-bold: true;

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 underline text using CSS?

A). text-decoration: underline;

B). font-decoration: underline;

C). decoration: underline;

D). text-style: underline;

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;

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