HTML Classes and ID
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Create a class selector named "special". Add a color property with the value "blue" inside the "special" class. Options: <style> .special {color:blue ;} </style>, <style> .class {color:#0000ff ;} </style>
Back
<style> .special {color:blue ;} </style>
2.
FLASHCARD QUESTION
Front
Add the correct class to make the H1 element red, given the following head element.
<head>
<style>
.mystyle {color:red;}
</style>
</head>
Back
<h1 class="mystyle">My Home Page</h1>
3.
FLASHCARD QUESTION
Front
Add two classes to the H1 element, to make the background pink and the color red, given the following head element.
<head>
<style>
.intro {background:pink;}
.special {color:red;}
</style>
</head>
Back
<h1 class="intro special">My Home Page</h1>
4.
FLASHCARD QUESTION
Front
Add the correct HTML attribute to make the H1 element red, given the following head element.
Back
My Home Page
5.
FLASHCARD QUESTION
Front
Create an id selector named "special". Add a color property with the value "blue" inside the "special" declaration block.
Back
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
EXTRA Spanish version episode 7
Flashcard
•
9th - 12th Grade
8 questions
Nomenclatura inorganica Fermi 24/25
Flashcard
•
10th Grade
12 questions
Poppy playtime flashcard
Flashcard
•
KG - University
12 questions
Station 3 Review
Flashcard
•
8th - 12th Grade
8 questions
Y11 Music Vocabulary Flashcards
Flashcard
•
6th Grade - University
13 questions
Solving inequalities
Flashcard
•
9th - 11th Grade
13 questions
Photography - Elements of art
Flashcard
•
10th - 12th Grade
9 questions
Principles of Design
Flashcard
•
8th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade