NEW
Font size
S
M
L
XL
WorksheetsY8 - Web page design (HTML & CSS)
Total questions: 20
Worksheet time: 10mins
Name
Class
Date
1.
Which tag contains all the contents of an HTML document you can see?
a)
<body>
b)
<head>
c)
<html>
d)
<title>
2.
The HTML for adding a picture begins
a)
src
b)
scr
c)
img
d)
png
3.
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.
4.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
5.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
6.
What is the correct syntax for inserting an image?
a)
<image source="untitled.jpg">
b)
<img src="untitled.jpg">
c)
<src img="untitled.jpg">
d)
<img scr="untitled.jpg">
7.
Which character is used to indicate an end tag in HTML?
a)
{}
b)
<
c)
/
d)
*
8.
The <body> </body> tag contains
a)
Any pictures shown on the site
b)
Any links shown on the site
c)
The actual content of the document
d)
All of the above
9.
The <head></head> tag contains
a)
The page heading
b)
Important information about the HTML document
c)
Contact information for the site owner
d)
Navigation bar
10.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
11.
What does CSS stand for?
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
12.
Which is the value in this CSS?
p {color: red;}
p {color: red;}
a)
p
b)
color
c)
red
13.
What style is used if you want to write in a new font?
a)
font
b)
font-type
c)
font-family
d)
font-style
14.
What 'a' style do you use to make your links appear like buttons (rollover effect)?
a)
link
b)
hover
c)
active
d)
visited
15.
Which is the attribute in this CSS?
p {color: red;}
p {color: red;}
a)
p
b)
color
c)
red
16.
For <img src="#"> to display an image, what must you replace # with?
a)
an image URL
b)
an image anchor tag
c)
the image vector
d)
an image file size
17.
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.
18.
Which is correct CSS syntax?
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black)
19.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
20.
What HTML tag is used to divide up a page into separate sections?
a)
<div>
b)
<section>
c)
<block>
d)
<divide>
Reset
