Q
Which property is used to specify the color of the text?

Answer & Solution

Answer: Option A
Solution:
The color property in CSS is used to specify the color of the text, e.g., color: #000000; for black. Example: color: #000000;
Related Questions on Average

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;

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;

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 is the default font size in CSS?

A). 10px

B). 14px

C). 16px

D). 12px

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

A). text-transform: capitalize;

B). font-transform: capitalize;

C). transform: capitalize;

D). text-style: title-case;

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;