Q
How can you make text appear in title case using CSS?

Answer & Solution

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

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

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

A). font-style: italic;

B). text-style: italic;

C). italic: true;

D). font-italic: true;

How can you underline text using CSS?

A). text-decoration: underline;

B). font-decoration: underline;

C). decoration: underline;

D). text-style: underline;

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

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

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;