Which of the following is a valid CSS rule?
CSS-Styling Websites

Quiz
•
Other
•
12th Grade
•
Hard
Angel Ligon
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
h1 { color: blue; }
<h1> { color: blue; }
h1 { color="blue"; }
h1 { color=blue; }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CSS rules have a selector that defines which HTML elements the rule applies to.
We’ve learned about the following CSS Selectors:
Select by tag name
Select by class name
Select by id name
Which of the following ranks the selectors from highest precedence to lowest precedence?
Select by tag name, select by class name, select by id name
Select by id name, select by tag name, select by class name
Select by id name, select by class name, select by tag name
Select by class name, select by id name, select by tag name
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true about styling your web pages with CSS:
I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can create styles with CSS that are not possible using style= on an HTML tag
I only
II only
I and II
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?
<img style="height: 200px;>
tag="img" { height: 200px; }
<img> { height: 200px; }
img { height: 200px; }
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<h1 class="fire">Welcome!</h1>
red
green
blue
black
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<p class="title">My First Paragraph</p>
red
green
blue
black
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<p class="fire" id="title">Hello World!</p>
red
green
blue
black
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does CSS stand for?
Cascading Style Sheets
Cascading Summary Sheets
CSS
Similar Resources on Wayground
10 questions
German Greetings and Farewells

Quiz
•
7th - 12th Grade
10 questions
CSS QUIZ NO.2

Quiz
•
9th - 12th Grade
11 questions
HTML/CSS

Quiz
•
9th - 12th Grade
10 questions
chuyên đề Tin học 10

Quiz
•
10th Grade - University
5 questions
HTML QUIZ

Quiz
•
9th - 12th Grade
10 questions
HTML Tags Review

Quiz
•
11th - 12th Grade
10 questions
Google Sketch-Up Tools Quiz #1 Grades 9-12

Quiz
•
9th - 12th Grade
5 questions
Headings and Lists Review Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade