Q
What value is used to set the font size to 22 pixels and font family to Courier New?

Answer & Solution

Answer: Option A
Solution:
The value 22px Courier New is used to set the font size to 22 pixels and font family to Courier New.
Related Questions on Average

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

A). fontType

B). font-style

C). fontStyle

D). italic

What value is used to set the font family to Arial in HTML5 canvas text?

A). Times New Roman

B). Arial

C). Verdana

D). Serif

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

A). fontStyle

B). font

C). fontSize

D). fontFamily

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

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

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 size to 30 pixels in HTML5 canvas text?

A). fontSize

B). font-size

C). fontType

D). font-size

What value is used to set the font size to 14 pixels and font family to Georgia?

A). 14px Georgia

B). Georgia 14px

C). italic bold 14px Georgia

D). bold 14px Georgia

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 lighter in HTML5 canvas text?

A). light

B). bold

C). normal

D). lighter