What is the correct method for writing a selector and declaration?
ITS HTML CSS 1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Quizizz Content
Used 6+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
h1 { color: blue;
font-size: 12px; }
<h1> { color: blue;
font-size: 12px; }
h1 /* color: blue;
font-size: 12px; */
h1 { color; blue:
font-size; 12px: }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS selector has higher specificity?
Class selector
Tag selector
Attribute selector
Universal selector
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to make the text bold?
font-weight: bold;
text-style: bold;
font-bold: true;
text-bold: yes;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these has the correct syntax for an ID?
#selector-id
#SelectorId
#4selectorid
#selector id
Answer explanation
Id’s have to have a hashtag in front of the word. IDs cannot have a capital letter space or number at the beginning. Also, spaces should be replaced with a dash.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a link state?
a:link
a:unvisited
a:mouseOver
a:hyperlink
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the font of an element?
font-family
font-weight
text-style
text-family
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Color the text blue.
p { color: blue; }
p {text-color: blue; }
p { font-color: blue; }
<p> { text-color: blue; }
Create a free account and access millions of resources
Similar Resources on Quizizz
21 questions
CSS Review

Quiz
•
KG - 12th Grade
15 questions
2023 - Web Design - CSS Review

Quiz
•
9th - 12th Grade
15 questions
Introduction to CSS

Quiz
•
11th - 12th Grade
15 questions
Web I: CSS Debug

Quiz
•
9th - 12th Grade
20 questions
10 Quiz#1: CSS

Quiz
•
10th Grade
20 questions
Y8 - Web page design (HTML & CSS)

Quiz
•
9th - 11th Grade
20 questions
Latihan CSS - RPL1

Quiz
•
11th Grade
20 questions
Unit 2 code.org

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

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade