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
15 questions
English 1 Final Exam Study Flashcard
Flashcard
•
9th Grade - University
15 questions
Flashcard sobre la Bauhaus y Vasili Kandinski
Flashcard
•
KG - University
15 questions
unit 1 review
Flashcard
•
9th Grade - University
15 questions
Lord of the Flies - Chapter 1
Flashcard
•
9th - 10th Grade
10 questions
Holi and St. Patrick's Day Trivia
Flashcard
•
KG
9 questions
House Designs and Features
Flashcard
•
11th Grade
7 questions
Celebration Activities
Flashcard
•
12th Grade
7 questions
Vocabulario Eugenio Pereira
Flashcard
•
University
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