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

Answer & Solution

Answer: Option A
Solution:
The text-transform: capitalize; property is used to specify whether the text should be in uppercase, lowercase, or capitalized. Example: text-transform: capitalize;
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;

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;

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

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.

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

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;