Q
Which property is used to set the font size, font family, and font weight simultaneously?

Answer & Solution

Answer: Option B
Solution:
The font property is used to set the font size, font family, and font weight simultaneously in HTML5 canvas text.
Related Questions on Average

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

A). fontSize

B). font-size

C). fontType

D). font-size

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

A). light

B). bold

C). normal

D). lighter

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

A). light

B). bold

C). normal

D). heavy

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

A). font-size

B). fontStyle

C). font-size

D). fontSize