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

Answer & Solution

Answer: Option C
Solution:
The font-weight property is used to set the font weight 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

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 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

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

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

A). 20px

B). 20pt

C). 20em

D). 20rem

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

A). fontStyle

B). font

C). fontSize

D). fontType

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

A). light

B). bold

C). normal

D). lighter

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