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 9 Self-Check
Edit this page
Report an issue
Lecture 9 Quiz: CSS Units & Advanced Selectors
Note
Review before quiz:
Lectures
|
Week 3 Content
|
Lab 3
|
Assignment 3
Lecture 9 Self-Check
Question 1: Which CSS units are relative and preferred for scalable typography?
Select an item
A. px and pt
B. em and rem
C. cm and mm
D. in and pc
Question 2:
rem
units are calculated relative to what?
Select an item
A. Relative to current element's font size
B. Relative to root html font size
C. Relative to viewport width
D. Relative to parent width
Question 3: Which selector targets an element with class name
header
?
Select an item
A. #header
B. .header
C. header
D. *header
Question 4: Which selector matches only direct child paragraph elements of a
div
?
Select an item
A. div p
B. div + p
C. div > p
D. div ~ p
Question 5: Which pseudo-class applies style when the mouse pointer is over a link?
Select an item
A. a:visited
B. a:hover
C. a:active
D. a:focus