
Types of CSS Assessment
Authored by Academic Department
Information Technology (IT)
9th Grade

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.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of CSS in web development?
To create the structure of a webpage
To add functionality to a webpage
To style and enhance the appearance of a webpage
To store and manage data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of CSS has the highest priority?
External CSS
Internal CSS
Inline CSS
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to apply Inline CSS?
<p {color: blue; font-size: 16px;}>Hello</p>
<p >Hello</p>
<p style=color: blue; font-size: 16px;>Hello</p>
p { color: blue; font-size: 16px; }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where is Internal CSS written in an HTML document?
Inside the <body> section
Inside the <head> section inside a <style> tag
Inside the <footer> section
Inside a separate .css file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to link an external CSS file to an HTML document?
<link rel="stylesheet" href="styles.css">
<style src="styles.css"></style>
<css href="styles.css"></css>
<stylesheet>styles.css</stylesheet>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following CSS rule? h1 { color: red; font-size: 40px; text-align: center; }
The text will be green, 40px in size, and centered
The text will be red, 40px in size, and centered
The text will be blue, 40px in size, and aligned to the left
No changes will be applied
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct CSS syntax for setting the background color of a
div { background-color: yellow; }
div = background-color: yellow;
<div background-color="yellow">
background-color: yellow; div {}
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?