Q
What value is used to set the font size to 20 pixels in HTML5 canvas text?

Answer & Solution

Answer: Option A
Solution:
The value 20px is used to set the font size to 20 pixels in HTML5 canvas text.
Related Questions on Average

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

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

A). 24px Times New Roman

B). Times New Roman 24px

C). italic bold 24px Times New Roman

D). bold 24px Times New Roman

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

A). fontType

B). font-style

C). fontStyle

D). italic

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

A). fontWeight

B). font-style

C). font-weight

D). fontType

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 the font size, font family, and font weight simultaneously?

A). fontStyle

B). font

C). fontSize

D). fontType