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
9 questions
Unit 4 Review

Flashcard
•
8th Grade - University
15 questions
HTML & CSS Basics

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

Flashcard
•
9th - 12th Grade
15 questions
IST Web Dev Unit

Flashcard
•
9th - 12th Grade
10 questions
Web Review 1

Flashcard
•
10th - 12th Grade
5 questions
IDs and Classes

Flashcard
•
9th - 12th Grade
15 questions
5.1 The internet and the world wide web

Flashcard
•
9th Grade - University
10 questions
Kindergarten Color

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade