
CSS Styling Quiz 4.1.3
Authored by Moyin Yusuf
Information Technology (IT)
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS rule makes all text blue?
h1 { text: blue; }
h1 { font-color: blue; }
h1 { color: blue; }
make it blue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have three h1 elements on a page, and you add h1 { color: green; }, what happens?
Only the first h1 changes to green.
Only the last h1 changes to green.
All h1 elements change to green.
None of the h1 elements change.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should CSS style rules usually be placed in an HTML document?
Inside the <style> tag in the <head>
Inside the <footer>
At the bottom of the <body>
In the <title> tag
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property changes the size of text in an h1?
text-size
font-style
font-size
size
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main benefit of styling h1 elements with CSS instead of inline styles?
Inline styles can’t change color.
CSS allows you to style multiple elements at once.
Inline styles are faster to write for big projects.
CSS doesn’t work without inline styles.
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?