CSS Questions & Answers – Embedding Web Fonts

This set of CSS Multiple Choice Questions & Answers (MCQs) focuses on “Embedding Web Fonts”.

1. Which of the following is used to associate a font name to be used in a style sheet with some downloadable font?
a) @font-face
b) @charset
c) @media
d) !important
View Answer

Answer: a
Explanation: None.

2. Which of the following is not value for the font-stretch(Font descriptor)?
a) normal
b) 50%
c) expanded
d) ultra-expanded
View Answer

Answer: b
Explanation: None.

3. Which of the following font format is supported by all the latest browser?
a) EOT
b) WOFF2
c) SVG
d) WOFF
View Answer

Answer: d
Explanation: None.
advertisement
advertisement

4. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?
a) grid
b) monochrome
c) resolution
d) orientation
View Answer

Answer: d
Explanation: None.

5. Which of the following media query describe the ratio of the width to the height of the media?
a) ratio
b) aspect-ratio
c) deviceaspect-ratio
d) resolution
View Answer

Answer: b
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Which of the following media query describe describes the height of the screen or full height of the output page?
a) height
b) aspect-ratio
c) device-height
d) resolution
View Answer

Answer: c
Explanation: None.

7. Which of the following property sets the style of a font?
a) font
b) style
c) font-style
d) @font-face
View Answer

Answer: c
Explanation: Syntax:
font-style: italic | normal | oblique | inherit.
advertisement

8. Which of the following property specifies whether an element is an accelerator indicator or not?
a) push
b) accelerator
c) jump-start
d) animation
View Answer

Answer: b
Explanation: Syntax:
accelerator: true | false.

9. Which of the following property sets a variation of the specified or default font family?
a) fonts
b) font-style
c) font-variant
d) font-weight
View Answer

Answer: c
Explanation: Syntax:
font-variant: normal | small-caps.
advertisement

10. The @font-face rules assign different names to the regular and bold versions of the font.State true or false.
a) True
b) False
View Answer

Answer: a
Explanation: Self-explainatory.

Sanfoundry Global Education & Learning Series – CSS.

To practice all areas of CSS, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.