wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CodeHS Intro to CSS

Total questions: 20

Worksheet time: 12mins

Name
Class
Date
1.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
2.
Where in the HTML document is the correct location to insert code to link to your external CSS? 
a)
In the <head> section
b)
In the <body> section
c)
At the very end of the document
d)
At the very beginning of the document
3.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
4.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
5.
Which is the value in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
6.
Which is the selector for a link?
a)
a { }
b)
link { }
c)
href { }
d)
a href { }
7.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
8.
How can you make a numbered list?
a)
<list>
b)
<ol>
c)
<dl>
d)
<ul>
9.
How can you make a bulleted list?
a)
<ol>
b)
<ul>
c)
<list>
d)
<dl>
10.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
11.
CSS controls the.....
a)
Coding
b)
Subject Matter
c)
Style
d)
Robots
12.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
13.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
14.

What is a CSS selector?

a)

The value in a markup tag you want to change with a CSS style

b)

Any element to which designated styles are applied

c)

A format instruction in a CSS file

d)

The property in a markup tag to which designated styles are applied

15.
What is the function of the <p> tag?
a)
Defines a paragraph.
b)
Makes the text purple.
c)
It pushes the text to the right.
d)
Prints the webpage.
16.
The content of the web page (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
17.
Software used to look at webpages...
a)
Browser
b)
Navigator
c)
Notepad
d)
File System
18.

To create the largest possible "Heading" in HTML, which tag is correct?

a)

<HeadingLarge>

b)

<Head>

c)

<h1>

d)

<h+>

19.

How would you write a hyperlink to webpage.com?

a)

<a>http://www.webpage.com</a>

b)

<a name="http://www.webpage.com">webpage.com</a>

c)

<a href="http://www.webpage.com">webpage</a>

d)

<a url="http://www.webpage.com">webpage.com</a>

20.

Which of the following tags are formatted correctly to add an image to an HTML document?

a)

<img href="puppy.gif" alt="puppy">

b)

<img src="puppy.gif" alt="puppy">

c)

<image src="puppy.gif" alt="Puppy">

d)

<img alt="puppy">puppy.gif</img>