HTML Classes and ID

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Similar Resources on Wayground
10 questions
French 2 NLLS Story H1 Q&A 2.0

Flashcard
•
9th - 12th Grade
10 questions
Inequalities and Compound Inequalities

Flashcard
•
9th - 12th Grade
10 questions
French 2 NLLS Story H1 Q&A

Flashcard
•
9th - 12th Grade
7 questions
Python - Flow control

Flashcard
•
11th Grade
5 questions
2 Equations, formulae and inequalities

Flashcard
•
9th - 10th Grade
8 questions
AP CSP Conditionals

Flashcard
•
9th - 12th Grade
8 questions
Piecewise Functions

Flashcard
•
10th - 12th Grade
9 questions
AILEEN- I math 1 chapter 1

Flashcard
•
9th - 12th Grade
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