
CSS Quiz B1
Authored by Vengatesh vengatesh
Other
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
<style> ________
{ _____red; }
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p class="colortext">This is a paragraph</p>
<p class="colortext">This is a paragraph</p> </body>
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Add an external style sheet with the URL: "mystyle.css".
<head>_______________ </head> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Set "paper.gif" as the background image of the page.
<style> body { _______ : __________ ; }
</style>
<body> <h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p> </body>
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use the correct background property to make the background image NOT scroll with the rest of the page
<style>
body { background-image: url("img_tree.png"); __________:_____ ; } </style>
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use the correct border property to set the LEFT border to "dotted".
<style> p { _______ : dotted; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use the shorthand margin property to add 20 pixels top and bottom margins, and 40 pixels left and right margins, on the <h1> element.
<style> h1 { margin: ________ ; } </style>
<body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Set the padding of all sides of the <h1> element to 30 pixels.
<style> h1 {_________ : 30px; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>
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
Fun Trivia
Quiz
•
KG - Professional Dev...
10 questions
GK AND CURRENT AFFAIRS
Quiz
•
Professional Development
10 questions
Skincare Sunday Quiz
Quiz
•
Professional Development
10 questions
FORUM SHARING CIP HOLDING 2023 - CLOSING
Quiz
•
Professional Development
10 questions
Elektrik
Quiz
•
Professional Development
10 questions
Local Government 1
Quiz
•
11th Grade - Professi...
14 questions
WS Dip TMOB E2 Manage team performance part 1
Quiz
•
Professional Development
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade