wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 94

Worksheet time: 49mins

Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
2.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
3.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
4.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
5.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
6.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
7.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
8.
Which web image format supports both transparency AND animation?
a)
PNG
b)
JPG
c)
SWF
d)
GIF
9.
What symbol should precede hexadecimal color codes?
a)
ampersand
b)
semicolon
c)
number sign
d)
equal sign
10.
Which tag defines a numbered list?
a)
OL
b)
UL
c)
LI
d)
NL
11.
The default link color for hyperlinks:
a)
green
b)
blue
c)
purple
d)
red
12.
Which tag is used to underline text?
a)
<a>
b)
<u>
c)
<b>
d)
<I>
13.
Which tag is used to create a hyperlink?
a)
<a>
b)
<href>
c)
<b>
d)
<i>
14.
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"/>
15.
Which tag is used to create a new column within a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
16.
Which tag is used to enter data into a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
17.
Images in your webpage may have the following extensions except
a)
.png
b)
.gif
c)
.jpg
d)
.psd
18.
There simple, easy-to-use programs allow you to enter, edit, save, and print text.
a)
text editor
b)
web browser
c)
domain name
d)
webmaster
19.
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.
20.
Defines a division or a section in an HTML document. Used to group block-elements to format them with CSS
a)
<div>
b)
<span>
c)
<caption>
d)
<group>
21.
to make a comment in HTML you use
a)
<!--  -->
b)
//
c)
/*
d)
#
22.
What tag is used for CSS?
a)
<style>
b)
<css>
c)
<body>
d)
<script>
23.
How do you center text?
a)
text-align: true;
b)
text-align: false;
c)
text-align: center;
d)
text: align center;
24.
What website can I use to learn more HTML?
a)
code.com
b)
codeacademy.com
c)
planetbravo.com
d)
gmail.com
25.
What code is a heading?
a)
h1
b)
p
c)
b
d)
a
26.
All the visible code of the website goes in what area of the html?
a)
body
b)
head
c)
html
d)
h1
27.
CSS controls the.....
a)
Coding
b)
Subject Matter
c)
Style
d)
Robots
28.
What is the starting code to a link?
a)
a
b)
href
c)
b
d)
p
29.
How do I finish this code to change the background color with CSS?
<body 
a)
bgcolor="red">
b)
style="background-color:red ">
c)
style="red"
d)
background-color="red">
30.
How do I make an outline around something with css?
a)
outline
b)
border
c)
line
d)
size
31.
What will happen to the text in blue?   <p>He named his car <i>The lightning</i>, because it was very fast.</p>
a)
the content will be displayed in italic
b)
the content will display an image
c)
the content defines text inserted into a document
32.
What is will the highlighted tag do? <p>My favourite colour is blue<br>I support Southend United.
</p>
a)
it will make the text bold
b)
it will place the text on another line
33.
What coding would be used to define a header cell in an HTML table
a)
<th>Month</th>
b)
<td>Month</td>
c)
<h1>Month</h1>
d)
<h2>Month</h2>
34.
CSS stands for?
a)
Closed Source Style
b)
Crucial Style Sheets
c)
Cascading Style Sheets
d)
Corresponding Static Style
35.
Which code will make your background red?
a)
<body style=background-color:red;>
b)
<body style="background-color:yellow;">
c)
<body style="background-color:red;">
d)
<body colormybg="background-color:red;">
36.
Which format usually works best for photos?
a)

JPEG

b)

DOC

c)

GIF

d)

WAV

37.
What will happen to the content in blue?<p>This is a spelling mistake <u>parragraph</u> .<p/>
a)
it will be in bold
b)
it will be underlined
c)
it will be in italics
38.
Which tag will create a new row in a HTML table?
a)
<r>
b)
<tr>
c)
<row>
d)
<tablerow>
39.
Which is NOT a web browser?
a)
Chrome
b)
Internet explorer
c)
FireFox
d)
Yahoo
40.
What does the <HTML> tag tell the browser
a)
that it is an HTML document
b)
defines the documents body
c)
that it contains all the head elements
41.
How would you set the height of a cell to 170 in a HTML table?
a)
Height="170"
b)
Ht="170"
42.
What best describes CSS
a)
describes how HTML elements are displayed on screen
b)
To logically divide the document
43.
What best describes web authoring software?
a)
it creates HTML code to make web pages.
b)
It is used to view web pages
44.
A <tag>
a)
Is used to divide sections
b)
Is not needed in HTML
c)
Tells the browser how to format our content
d)
Is part of the title line in HTML
45.
<h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
46.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
47.
An attribute is a; 
a)
Applies changes to everything
b)
Different options for each tab
c)
Allows for no changes to the site
d)
Gives structure and text
48.
Body tags are used;
a)
Used for only the header
b)
Used only for the paragraph
c)
element that wraps everything that is visible on the page.
d)
Not used in HTML
49.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
50.
</body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
51.
A Header;
a)
Must include your name
b)
First Line of your code
c)
Found at bottom of your code
d)
Not needed in HTML
52.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
53.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
54.
[Square brackets are used to define];
a)
An input attribute
b)
An export attribute
c)
A Function
d)
A Variable
55.
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
a)
alt
b)
title
c)
src
d)
longdesc
56.
What symbol should precede hexadecimal color codes?
a)
ampersand (&)
b)
semicolon (;)
c)
number sign (#)
d)
equal sign (=)
57.
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 (-)
58.
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
59.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
60.
Which is the correct way to format a Font Family for a paragraph?
a)
p { font-face: Arial; }
b)
p { family-font: Arial; }
c)
p { font-family: Arial; }
d)
p { font: Arial; }
61.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
62.
Which is the value in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
63.
Which is the selector for a link?
a)
a { }
b)
link { }
c)
href { }
d)
a href { }
64.
Which CSS code centers text?
a)
p {align: center;}
b)
p {text-align: center;}
c)
p {align=center;}
d)
p {center;}
65.
What property changes the border for an image/table?
a)
border:
b)
border-size:
c)
border-color:
66.
How do I remove the underline from a link using CSS?
a)
a {underline: none;}
b)
a {text-decoration: none;}
c)
a {style: none;}
d)
link {underline: none;}
67.
You should just code your CSS styles within your HTML
a)
True
b)
False
68.
Which CSS code is incorrect?
a)
a {color: blue;}
b)
p {font-size: 10px;}
c)
body {background-color="red";}
d)
img {width: 100%;}
69.
Why won't the following anchor tag work?  <ahref=https://www.google.com/>click here</a>
a)
The link is incorrect. it should be ref, not href
b)
The URL is missing quotation marks
c)
There is no anchor tag in the code
d)
The href is missing a closing tag
70.
What is the purpose of <!DOCTYPE html>?
a)
provides the web browser with security information
b)
instructs the browser where to look for your CSS files
c)
Allows programmers to link to files in-line
d)
Tells the web browser what language to expect
71.
Where in your HTML document should you include the code <!DOCTYPE html>?
a)
body section
b)
doesn't matter
c)
last line
d)
first line
72.
What is the function of a title tag?
a)
stores webpage title for browser and search engine results
b)
show server how to index the website
c)
shows meta information about the title
d)
shows server how to title the website
73.
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
74.
Which of these elements are all <table> elements?
a)
<table><tr><td>
b)
<thead><body><tr>
c)
<table><head><tfoot>
d)
<table><tr><tt>
75.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
76.
All images must be saved to this folder
a)
Picture
b)
Website
c)
images
d)
graphics
77.
File Management is not important in the area of Web Design.
a)
True
b)
False
78.
Which tag is used to enter data into a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
79.
Which tag is used to create a new column within a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
80.
Which tag is used to create a new row in a table?
a)
<table>
b)
<tr>
c)
<td>
d)
<tb>
81.
Who is making the Web standards?
a)
Google 
b)
The World Wide Web Consortium 
c)
Mozilla 
d)
Microsoft
82.
Choose the correct HTML element to define important text
a)
<i>
b)
<strong>
c)
<b>
d)
<important>
83.
Choose the correct HTML element to define emphasized text
a)
<italic>
b)
<em>
c)
<i>
d)
<emp>
84.
What is the correct HTML for creating a hyperlink?
a)
<a>http://www.w3schools.com</a>
b)
<a name="http://www.w3schools.com">W3Schools.com</a>
c)
<a href="http://www.w3schools.com">W3Schools</a>
d)
<a url="http://www.w3schools.com">W3Schools.com</a>
85.
Which character is used to indicate an end tag?
a)
/
b)
*
c)
^
d)
<
86.
How can you make a numbered list?
a)
<list>
b)
<ol>
c)
<dl>
d)
<ul>
87.
How can you make a bulleted list?
a)
<ol>
b)
<ul>
c)
<list>
d)
<dl>
88.
What is the correct HTML for making a checkbox?
a)
<check>
b)
<input type="checkbox">
c)
<checkbox>
d)
<input type="check">
89.
What is the correct HTML for making a text input field?
a)
<textinput type="text">
b)
<input type="textfield">
c)
<textfield>
d)
<input type="text">
90.
What 2 properties apply when resizing images?
a)
Height & Length
b)
Length & Width
c)
Height & Width
d)
None of the above
91.
What website has lots of resources you should use for webdesign?
a)
W3Schools
b)
Facebook
c)
Unblockedgames
d)
Minecraft
92.
Who is the founder of the World Wide Web?
a)
Timothy Berners-Lee
b)
Alexandra Jones
c)
Barack Obama
d)
Kanye West
93.
Which of these is the smallest of all the headings?
a)
<h6>
b)
<h1>
c)
<h11>
d)
None of these
94.
Which of these symbols should you end your CSS properties with?
a)
:
b)
!
c)
:D
d)
;