What does `position: static` do?
[Week 5] CSS Positioning & Flexbox Proficiency Test

Quiz
•
Computers
•
10th Grade
•
Medium
Curriculum Team
Used 8+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Positions the element relative to its normal position
Positions the element relative to the viewport
Removes the element from the document flow
Allows overlapping of elements
Answer explanation
The correct choice, 'Positions the element relative to its normal position', accurately describes 'position: static'. This value keeps the element in the normal document flow, meaning it will appear where it would normally be placed.
2.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which positioning method allows an element to stay in place while scrolling?
static
relative
absolute
fixed
Answer explanation
The 'fixed' positioning method allows an element to remain in a fixed position relative to the viewport, meaning it stays in place while the page is scrolled. This is unlike 'static', 'relative', or 'absolute' positioning.
3.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
What is the effect of `position: relative`?
The element is positioned relative to its original position
The element is removed from the document flow
The element takes the position of the viewport
The element is fixed in the viewport
Answer explanation
The correct choice is that 'position: relative' positions the element relative to its original position in the document flow, allowing for adjustments without removing it from the flow.
4.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which property is used to specify an element's position when using `position: absolute`?
top
left
both A and B
none of the above
Answer explanation
When using `position: absolute`, the properties `top` and `left` are used to specify the element's position relative to its nearest positioned ancestor. Therefore, the correct answer is both A and B.
5.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
What happens when an element with `position: fixed` is scrolled?
It moves with the scroll
It stays fixed in the viewport
It becomes relative
It disappears
Answer explanation
An element with `position: fixed` remains in a fixed position relative to the viewport, meaning it does not move when the page is scrolled. This is why the correct answer is that it stays fixed in the viewport.
6.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
What does `position: sticky` do?
Combines features of fixed and relative positioning
Keeps the element static
Positions the element absolutely
Makes the element disappear on scroll
Answer explanation
`position: sticky` combines features of fixed and relative positioning, allowing an element to stick to a defined position within its container when scrolling, rather than being static or absolutely positioned.
7.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which of the following is true for `position: absolute`?
It is positioned relative to the nearest positioned ancestor
It is positioned relative to the viewport
It always takes up space in the document flow
None of the above
Answer explanation
The correct choice is that `position: absolute` is positioned relative to the nearest positioned ancestor. This means it will look for the closest parent element with a position other than static.
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Cryptography & Linux

Quiz
•
9th - 12th Grade
30 questions
GCSE (9–1) CS 2.1 Algorithms

Quiz
•
9th - 11th Grade
39 questions
Table Design

Quiz
•
9th - 12th Grade
40 questions
Organizing My Website Content using Flexbox

Quiz
•
8th Grade - University
40 questions
AP CSP Code.org Unit 5 Assessment 1 Review

Quiz
•
9th - 12th Grade
34 questions
Competitive Programming: Intro to the Arts of Problem Solving

Quiz
•
9th - 12th Grade
40 questions
HTML EOPA Review

Quiz
•
9th - 12th Grade
30 questions
Chapters 1 & 2 Vocab Review

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade