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

Answer & Solution

Answer: Option B
Solution:
The value bold is used to set the font weight to bold in HTML5 canvas text.
Related Questions on Average

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

A). light

B). bold

C). normal

D). heavy

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

A). fontWeight

B). font-style

C). font-weight

D). fontType

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

A). font-size

B). fontStyle

C). font-size

D). fontSize

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

A). 20px

B). 20pt

C). 20em

D). 20rem

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 25 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 22 pixels and font family to Courier New?

A). 22px Courier New

B). Courier New 22px

C). italic bold 22px Courier New

D). bold 22px Courier New