Q
How can you make text appear in uppercase using CSS?

Answer & Solution

Answer: Option A
Solution:
To make text appear in uppercase using CSS, you use the text-transform: uppercase; property. Example: text-transform: uppercase;
Related Questions on Average

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 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

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 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 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 title case using CSS?

A). text-transform: capitalize;

B). font-transform: capitalize;

C). transform: capitalize;

D). text-style: title-case;

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;

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;

How can you underline text using CSS?

A). text-decoration: underline;

B). font-decoration: underline;

C). decoration: underline;

D). text-style: underline;

What does the font-style 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.