wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Cascading Style Sheets

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.
Which of these is NOT a way HTML files access CSS files?
a)
Inline
b)
Style Tags
c)
External Stylesheet
d)
JavaScript
2.
If the page has a  <div style='padding: 10px;'> what type of CSS is this?
a)
Inline
b)
Style Tag
c)
External Stylesheet
d)
User Stylesheet
3.
A website has 3 CSS files on its page:
responsive.css
print.css
desktop.css
Why?
a)
Different CSS for different platforms
b)
Different CSS per browser
c)
To make the website run 3 times quicker
d)
Because it's impossible to use inline CSS
4.
What does this mean:
#main { background-color: red; }
a)
The object with ID of main has a background colour of red
b)
The object with CLASS main has a background colour of red
c)
All objects on the page are red
d)
The body of the page is red
5.
What does this mean:
A:hover { color: blue; }
a)
Links are blue when you hover over them
b)
Animations are blue when you hover over them
c)
The background colour of the body is blue when hovered
d)
There is no blue allowed on the page
6.
What is the main advantage of inline CSS?
a)
It's quicker to write
b)
It links to an external file
c)
You can write it in 3 languages
d)
There are no advantages
7.
Which of these is part of the Box model of CSS?
a)
DIV
b)
P
c)
TAG
d)
Padding
8.
Which of these is a benefit of using CSS?
a)
Can keep a consistent style across the site
b)
The website will have multiple objects
c)
There are no benefits
d)
The CSS will be JavaScript valid
9.
What does CSS stand for?
a)
Cascading Style Sheet
b)
Communicative Styling Saved
c)
Colour Style Selector
d)
Comparitive Site Style
10.
What is the latest Standard of CSS?
a)
CSS2
b)
CSS3
c)
CSS4
d)
CSS5
11.
How many CSS3 properties are there?
a)
345
b)
2323
c)
1
d)
100