wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

IT HTML Certification

Total questions: 28

Worksheet time: 16mins

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 code for adding a picture begins with the ___________ element.
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 rule?
p {color: red;}
a)
p
b)
color
c)
red
d)
{}
13.
What 'punctuation' code is NOT used when making a stylesheet?
a)
;
b)
:
c)
{
d)
]
14.
What coding do the tags: <ul> & <li> represent?
a)
Ordered List with list items
b)
Un-Ordered List with list items
c)
Definition without list items
d)
Link with list items
15.
Which is the property in this CSS rule?
p {color: red;}
a)
p
b)
color
c)
red
d)
;
16.
Which is the declaration in this CSS rule?
p {color: red;}
a)
p {color:red;}
b)
p
c)
red
d)
{color:red;}
17.
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
18.
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.
19.
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
20.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
21.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
22.
What is the correct HTML code for creating a link?
a)
<a>http://www.w3schools.com</a>
b)
<a href="http://www.mckinneyssa.com">McKinney SSA</a>
c)
<a name="http://www.mckinneyssa.com">McKinney SSA</a>
d)
<a url="http://www.w3schools.com">W3Schools.com</a>
23.
Where in an HTML document is the correct place to refer to an external style sheet?
a)
At the end of the document
b)
In the <body> section
c)
In the <head> section
24.
Which CSS property is used to change the text color of an element?
a)
color
b)
text-color
c)
font-color
d)
fgcolor
25.
http://www.google.com is an example of a what?
a)
URL
b)
IP address
c)
Browser
d)
Application
26.
In an HTML file, which element do you use to link to an external style sheet?
a)
<link>
b)
<a>
c)
<style>
27.
If you want to have more than one property for a CSS selector, what character separates them?
a)
comma (,)
b)
semi-colon (;)
c)
colon (:)
d)
dash (-)
28.
Using p { background-color: blue; } would....
a)
turn the entire page blue
b)
would turn all of the words in the paragraph blue
c)
turn the background of the paragraph blue
d)
would turn the background of the paragraph black