CSS Rules Flashcard-unit 4 CodeHS
Flashcard
•
Computers
•
7th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is a valid CSS rule? h1 { color: blue; } ,
<h1> { color: blue; }
, h1 { color="blue"; } , h1 { color=blue; }Back
h1 { color: blue; }
2.
FLASHCARD QUESTION
Front
CSS rules have a selector that defines which HTML elements the rule applies to. Which of the following ranks the selectors from highest precedence to lowest precedence?(most important to least important) 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 class name, select by id name, select by tag name, Select by id name, select by class name, select by tag name
Back
Select by id name, select by class name, select by tag name
3.
FLASHCARD QUESTION
Front
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 change HTML tag style attributes with CSS files that are also possible using inline style= on an HTML tag
Back
I and II
4.
FLASHCARD QUESTION
Front
Which code snippet will select all tags on a page and give them a height of 200 pixels? Options:
, tag="img" { height: 200px; },
{ height: 200px; }, img { height: 200px; }
Back
img { height: 200px; }
5.
FLASHCARD QUESTION
Front
What font color will the following HTML element have after being styled by the given CSS:
Welcome!
?Back
Red
6.
FLASHCARD QUESTION
Front
What font color will the following HTML element have after being styled by the given CSS:
My First Paragraph?
Back
green
7.
FLASHCARD QUESTION
Front
What font color will the following HTML element have after being styled by the given CSS:
Hello World!?
Back
blue
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
Guess the Christmas Song - Carols Edition
Flashcard
•
KG - University
15 questions
Inference Practice
Flashcard
•
8th Grade - University
10 questions
الوجهات السّياحيّة
Flashcard
•
7th Grade - University
9 questions
Hospitality Industry Protocols
Flashcard
•
KG - University
9 questions
Mattress Flashcard
Flashcard
•
KG - University
10 questions
Flashcard sobre HTML
Flashcard
•
10th Grade - University
10 questions
Untitled Flashcards
Flashcard
•
9th - 12th Grade
15 questions
Personal lock holder
Flashcard
•
KG - 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