A. The offset class is incorrectly named; it should be col-md-offset-3.
B. The column width col-md-6 is invalid.
C. The row class is missing.
D. The offset number cannot be 3.
Solution
Step 1: Check Bootstrap 3 offset class naming
Bootstrap 3 requires offset classes to be named col-{breakpoint}-offset-{number}.
Step 2: Compare given class with correct syntax
The code uses offset-md-3, which is incorrect for Bootstrap 3.
Final Answer:
The offset class is incorrectly named; it should be col-md-offset-3. -> Option A
Quick Check:
Bootstrap 3 offset = col-md-offset-3 [OK]
Hint: Use full offset class: col-{breakpoint}-offset-{number} [OK]
Common Mistakes:
Using Bootstrap 4+ offset syntax in Bootstrap 3
Missing 'col-' prefix in offset class
Assuming offset number limits
5. You want to create a layout with two columns on medium screens: the first column is 3 grid spaces wide and the second column is 4 grid spaces wide, but the second column should start after skipping 2 grid spaces from the first column. Which Bootstrap 3 classes achieve this?
hard
A. <div class="col-md-3">...</div> <div class="col-md-4 col-md-offset-2">...</div>
B. <div class="col-md-3 col-md-offset-2">...</div> <div class="col-md-4">...</div>
C. <div class="col-md-3">...</div> <div class="col-md-4 offset-md-2">...</div>
D. <div class="col-md-5">...</div> <div class="col-md-4 col-md-offset-2">...</div>
Solution
Step 1: Assign width to first column
The first column should be 3 grid spaces wide, so use col-md-3.
Step 2: Offset second column by 2 grid spaces
The second column is 4 wide and should start after 2 empty spaces, so use col-md-4 col-md-offset-2.