CSS Selectors
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
ARTURO PARIÑAS
Used 57+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following selectors selects any tag with an id attribute set?
E#id
.class
#id
*
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of below mentioned code snippet?
p strong {background-color: yellow;}
Strong have yellow background
Strong element within a p element have a yellow background
Both p and strong have yellow background
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.
class
elelment
id
none of the choices
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
By applying an ___________ a style can be applied to just a single tag.
class rule
element rule
id rule
none of the choices
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What type of selector is used in this case?
p {line-height: 150%;}
class selector
element selector
id selector
none of the choices
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How many different types of selectors in CSS?
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
An id is NOT always unique within the page so it is chosen to select a single, unique element.
True
False
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
10 questions
Test (Bài 1. Làm quen với MS Access)
Quiz
•
11th Grade
15 questions
WFun Introduction
Quiz
•
10th Grade - University
15 questions
KS4 - Representing Images
Quiz
•
9th - 11th Grade
11 questions
CFF - Computational Thinking
Quiz
•
KG - 12th Grade
15 questions
SQL
Quiz
•
11th - 12th Grade
10 questions
PWPB
Quiz
•
11th Grade
10 questions
HTML Semantic Elements
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
