CSS Advanced Quiz 1
q
L
quizLearn
Select your answers and check your results. Use Reset to start again.
Practice Pronunciation (Merriam-Webster)
Search Google
Search
Navigation
HTML Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Beginner Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Intermediate Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Advanced Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Quiz 1
1. What is the primary advantage of the :is() pseudo-class?
It increases specificity to 100
It simplifies complex selectors while maintaining high specificity
It ignores the specificity of its arguments
2. What is the specificity of the :where() pseudo-class?
Always 0
Inherited from the parent
The same as :is()
3. Which selector allows you to style an element based on its descendants?
:parent
:contains
:has()
4. Which attribute selector matches elements whose attribute value starts with 'top'?
[attr$='top']
[attr^='top']
[attr*='top']
5. Which attribute selector matches elements whose attribute value ends with '.pdf'?
[href$='.pdf']
[href^='.pdf']
[href~='.pdf']
6. What does the :empty pseudo-class target?
Elements with no classes
Elements with display: none
Elements with no children (including text)
7. How do you select the second paragraph inside a container regardless of other tags?
p:nth-child(2)
p:nth-of-type(2)
p:only-of-type
8. Which pseudo-class styles an element targeted by a URL fragment identifier?
:target
:active
:link
9. What is the specificity impact of :not(.special)?
It has 0 specificity
It counts as two classes
It counts as one class (the specificity of its argument)
10. What is the specificity of '[type="text"]'?
0, 0, 1
0, 1, 0
1, 0, 0
Previous
Check Quiz
Reset
Next
Other
Timer
00:00
Start
Stop
Reset
Vocabulary Quiz
Score: 0
Reset Score
Submit Answer
Next Word
Spin the Wheel
SPIN
Promo's
Explore More
External Link