Q
What value is used to set the font family to Times New Roman and font size to 24 pixels?

Answer & Solution

Answer: Option D
Solution:
The value bold 24px Times New Roman is used to set the font family to Times New Roman and font size to 24 pixels.
Related Questions on Average

What value is used to set the font size to 16 pixels and font family to Arial?

A). Arial 16px

B). 16px Arial

C). italic bold 16px Arial

D). bold 16px Arial

What value is used to set the font size to 18 pixels and font family to Verdana?

A). Verdana 18px

B). 18px Verdana

C). italic bold 18px Verdana

D). bold 18px Verdana

Which property is used to set the font weight to normal in HTML5 canvas text?

A). light

B). bold

C). normal

D). heavy

What value is used to set the font weight to bold in HTML5 canvas text?

A). light

B). bold

C). normal

D). heavy

Which property is used to set the font weight in HTML5 canvas text?

A). fontWeight

B). font-style

C). font-weight

D). fontType

Which property is used to set both font size and font family in HTML5 canvas text?

A). fontStyle

B). font

C). fontSize

D). fontFamily

Which property is used to set the font size to 25 pixels in HTML5 canvas text?

A). fontSize

B). font-size

C). fontType

D). font-size

Which property is used to set the font style to normal in HTML5 canvas text?

A). fontStyle

B). font-type

C). font-style

D). normal

Which property is used to set the font size to 30 pixels in HTML5 canvas text?

A). fontSize

B). font-size

C). fontType

D). font-size

Which property is used to set the font style to italic in HTML5 canvas text?

A). fontType

B). font-style

C). fontStyle

D). italic