Web Technology - BMC201
Home
Syllabus
Schedule
Course Schedule Overview
Week 01
Week 02
Week 03
Week 04
Week 05
Week 06-07 (Mid-Sem)
Week 08
Week 09
Week 10
Week 11
Week 12
Materials
Labs Overview
Lab 01
Lab 02
Lab 03
Lab 04
Lab 05
Lab 06
Lab 07
Lab 08
Lab 09
Quizzes
Resources
Assessments
Assignments
On this page
Lecture 10 Self-Check
Edit this page
Report an issue
Lecture 10 Quiz: CSS Box Model & Positioning
Note
Review before quiz:
Lectures
|
Week 3 Content
|
Lab 3
|
Assignment 3
Lecture 10 Self-Check
Question 1: What is the correct outside-to-inside order in the CSS box model?
Select an item
A. content, border, padding, margin
B. margin, border, padding, content
C. padding, margin, border, content
D. border, margin, content, padding
Question 2: Which position value keeps an element attached to the viewport while scrolling?
Select an item
A. position: static
B. position: relative
C. position: fixed
D. position: sticky
Question 3: Padding controls which part of spacing?
Select an item
A. Space outside border
B. Space inside border
C. Border thickness
D. Content alignment
Question 4: With
box-sizing: border-box
, the declared width means:
Select an item
A. width includes content only
B. width includes margin only
C. width includes padding and border
D. width is ignored
Question 5: Why is
z-index
used in CSS positioning?
Select an item
A. To set text style
B. To control overlap/layer order
C. To define border color
D. To align items in flexbox