Lesson 5: CSS Select By ID

Quiz
•
Business
•
9th - 12th Grade
•
Medium
Steve Wills
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does CSS stand for?
Computer Style Sheets
Creative Style Sheets
Colorful Style Sheets
Cascading Style Sheets
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS selector is used to style a single, specific HTML element?
Tag
Element
Class
ID
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select an element with the ID 'logo' in CSS?
*logo
logo
#logo
.logo
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct format to define multiple properties in CSS?
selector { property value }
selector : property :: value;
selector { property: value; }
selector -> property = value;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which attribute is used to add an ID to an HTML element?
name
class
id
style
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between ID and class selectors?
Class can select by tag, ID cannot
ID can be reused, class cannot
Class applies to multiple elements, ID to one
ID applies to multiple elements, class to one
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid ID name?
logo#name
logo-name
logo name
1logo
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Branding Quiz

Quiz
•
9th Grade
10 questions
UCT - 3xx tretia skupina

Quiz
•
11th Grade
15 questions
Chapter 11 Terminology

Quiz
•
11th Grade
10 questions
Chapitre 8 : L'intégration et la coordination des acteurs

Quiz
•
12th Grade
9 questions
Entrepreneurship Vocab

Quiz
•
11th Grade
10 questions
Access Vocabulary

Quiz
•
10th - 12th Grade
15 questions
Intro to Bus Final Exam Prep

Quiz
•
9th - 12th Grade
14 questions
EMTECH Brand, Identity, Logo

Quiz
•
11th - 12th Grade
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