wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Quiz

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.
What does HTML stand for?
a)
Happy Turtles Moo Loud
b)
Hyper Text Markup Language
c)
Half Terabyte Megabyte LAN
d)
Hyper Tool Mega Language
2.
Which of the following is an HTML tag?
a)
<p>
b)
{p}
c)
var p;
d)
p:
3.
Which of the following is an opening tag?
a)
</html>
b)
</body>
c)
</p>
d)
<h1>
4.
Which of the following is a closing tag?
a)
<p>
b)
<li>
c)
</h1>
d)
<html>
5.
What does the <p> tag do?
a)
Make a paragraph
b)
Bold letters
c)
Underline letters
d)
Paste text
6.
Which of the following is the smallest heading tag?
a)
<h1>
b)
<h3>
c)
<h5>
d)
<h6>
7.
Which of the following is the largest heading tag?
a)
<h1>
b)
<h3>
c)
<h5>
d)
<h6>
8.
Which of the following tags creates an ordered list?
a)
<p>
b)
<h1>
c)
<ol>
d)
<ul>
9.
Which of the following tags creates an unordered list?
a)
<p>
b)
<h1>
c)
<ol>
d)
<ul>
10.
Which of the following creates an item in a list?
a)
<li>
b)
<h3>
c)
<ol>
d)
<title>
11.
Which of the following tags is used to insert an image?
a)
<p>
b)
<a>
c)
<img>
d)
<h1>
12.
What is the correct HTML for adding a background color?
a)
<body bgcolor=pink>
b)
<background color=pink>
c)
<body bgcolour=pink>
d)
<background bg=Pink>
13.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
14.

Inline style tags

a)

Can be used to change the style of a single line

b)

Not used in HTML

c)

Do not change the style of a line

d)

Are used sparingly

15.
Any content that is visible on your web page should go between these tags.
a)
<html></html>
b)
<style></style>
c)
<body></body>
16.

How many types of heading does HTML contain?

a)

five

b)

two

c)

four

d)

six

17.

What is the correct HTML for adding a background color yellow?

a)

<background>yellow</background>

b)

<body bg="red">

c)

<body style="background-color:yellow;">

18.

Choose the correct HTML element to define important text:

a)

<strong></strong>

b)

<important></important>

c)

<!jovan></jovan>

d)

<important></define>

19.
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
20.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
21.

What will this code look like?

<ol>

<li>Step 1 </li>

<li>Step 2 </li>

<li>Step 3 </li>

</ol>

a)
  • Step 1
  • Step 2
  • Step 3
b)

Step 1

Step 2

Step 3

c)

Step 1

Step 2

Step 3

d)
  1. Step 1
  2. Step 2
  3. Step 3
22.

Which of the following are NOT an extension file name for an image?

a)

.jpg

b)

.bmp

c)

.docx

d)

.gif