Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1731: What effect does text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF; create?
- A: A single red shadow
- B: Multiple shadows with red and blue
- C: A shadow with blur only
- D: A shadow with a color gradient
View Answer
B
Q1732: Fill in the blank: The box-shadow property can be used to apply shadows to ______.
- A: only text
- B: only borders
- C: text and elements
- D: only elements
View Answer
D
Q1733: What property is used to handle overflowed text in CSS3?
- A: text-break
- B: text-clip
- C: text-overflow
- D: text-wrap
View Answer
C
Q1734: Fill in the blank: To force a long word to break and wrap onto the next line, use the property ______.
- A: word-break
- B: text-overflow
- C: word-wrap
- D: text-wrap
View Answer
C
Q1735: Which property in CSS3 allows you to control line breaking rules?
- A: word-wrap
- B: text-overflow
- C: word-break
- D: text-clip
View Answer
C
Q1736: Fill in the blank: The CSS3 property word-break: break-all; will ______.
- A: Keep all text on one line
- B: Break words at any character
- C: Wrap text within its container
- D: Prevent line breaks
View Answer
B
Q1737: What CSS3 rule allows the use of custom fonts on a web page?
- A: @font-face
- B: @custom-font
- C: @web-font
- D: @font-style
View Answer
A
Q1738: Fill in the blank: To specify a custom font using the @font-face rule, you need to define a ______ and point to the font file.
- A: font-name
- B: font-family
- C: font-style
- D: font-format
View Answer
B
Q1739: Which format is specifically designed for use in web pages and includes compression and metadata?
- A: TrueType Fonts (TTF)
- B: Web Open Font Format (WOFF)
- C: Embedded OpenType Fonts (EOT)
- D: SVG Fonts
View Answer
B
Q1740: Fill in the blank: The @font-face rule in CSS3 is used to include fonts that are ______ on the user's computer.
- A: installed
- B: unavailable
- C: web-safe
- D: pre-installed
View Answer
B