Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1991: What additional class is required for labels in a horizontal form layout?
- A: .form-control
- B: .form-group
- C: .control-label
- D: .form-inline
View Answer
C
Q1992: Fill in the blank: Bootstrap's vertical form is the ____.
- A: default
- B: horizontal
- C: inline
- D: compact
View Answer
A
Q1993: How can you ensure form controls are left-aligned in an inline form?
- A: Add the class .form-horizontal
- B: Use the class .form-inline
- C: Apply the class .form-left
- D: Add class .form-group
View Answer
B
Q1994: Which form layout applies only to viewports that are at least 768px wide?
- A: Vertical form
- B: Horizontal form
- C: Inline form
- D: Compact form
View Answer
C
Q1995: Fill in the blank: To align labels and form controls in a horizontal layout, use Bootstrap's predefined ____.
- A: grid classes
- B: utility classes
- C: form styles
- D: alignment classes
View Answer
A
Q1996: What class makes all form elements inline and left-aligned?
- A: .form-horizontal
- B: .form-inline
- C: .form-group
- D: .form-left
View Answer
B
Q1997: Fill in the blank: In Bootstrap, for optimal spacing in forms, labels and form controls should be wrapped in a ____.
- A: .form-inline
- B: .form-group
- C: .form-horizontal
- D: .control-group
View Answer
B
Q1998: What is the default form layout in Bootstrap?
- A: Vertical form
- B: Horizontal form
- C: Inline form
- D: Compact form
View Answer
A
Q1999: What is the purpose of the data-ride="carousel" attribute in Bootstrap's Carousel component?
- A: To specify the carousel's ID
- B: To begin animating the carousel immediately
- C: To add CSS transition effects
- D: To define the carousel's slides
View Answer
B
Q2000: Fill in the blank: The class used to specify the wrapper for the carousel slides is ____.
- A: .carousel-indicators
- B: .carousel-inner
- C: .carousel-caption
- D: .carousel-controls
View Answer
B