CSS ID vs. Class

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
If you want to have more than one property for a CSS selector, what character separates them?
Back
semi-colon (;)
2.
FLASHCARD QUESTION
Front
Which is correct CSS syntax? Options: { body; color=black;}, body: color= black, body {color:black;}, (body color is black)
Back
body {color:black;}
3.
FLASHCARD QUESTION
Front
Select the code below that uses CSS to configure a background color of #000000 for a web page: body { background-color: #000000; }, body { bgcolor: #000000; }, document { background-page: #000000; }, None of these
Back
body { background-color: #000000; }
4.
FLASHCARD QUESTION
Front
What symbols go around the properties for each CSS selector?
Back
{ }
5.
FLASHCARD QUESTION
Front
Which is the value in this CSS?
p {color: red;}
Back
red
6.
FLASHCARD QUESTION
Front
Which is the selector for a link? Options: a { }, link { }, href { }, a href { }
Back
a { }
7.
FLASHCARD QUESTION
Front
Which CSS code centers text? Options: p {align: center;}, p {text-align: center;}, p {align=center;}, p {center;}
Back
p {text-align: center;}
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Unit C Review

Flashcard
•
10th - 12th Grade
20 questions
ITS HTML CSS 1

Flashcard
•
9th - 12th Grade
20 questions
HTML/CSS

Flashcard
•
9th - 12th Grade
18 questions
Web Dev Test Review

Flashcard
•
9th - 12th Grade
12 questions
U9 - KLO3 - Vocab Flashcards

Flashcard
•
KG - University
18 questions
Unit 7 Flashcard

Flashcard
•
9th - 12th Grade
6 questions
ESP_PythonPro_M2L4

Flashcard
•
KG
7 questions
CSS Rules Flashcard-unit 4 CodeHS

Flashcard
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade