Q
How can you underline text using CSS?

Answer & Solution

Answer: Option A
Solution:
To underline text using CSS, you use the text-decoration: underline; property. Example: text-decoration: underline;
Related Questions on Average

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.

What is the default font size in CSS?

A). 10px

B). 14px

C). 16px

D). 12px

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;

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;

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;

How can you set italic text using CSS?

A). font-style: italic;

B). text-style: italic;

C). italic: true;

D). font-italic: true;

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;

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 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 bold using CSS?

A). font-weight: bold;

B). font-style: bold;

C). text-weight: bold;

D). font-bold: true;