wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Html Beginner

Total questions: 19

Worksheet time: 14mins

Name
Class
Date
1.
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.
2.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
3.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
4.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
5.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
6.
Which tag is used to underline text?
a)
<a>
b)
<u>
c)
<b>
d)
<I>
7.
Which tag is used to create a hyperlink?
a)
<a>
b)
<href>
c)
<b>
d)
<i>
8.
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"/>
9.
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
10.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
11.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
12.

Which is the correct tag to change the colour of Hello to RED?

a)

<font color="Pink">This is some text!</font>

b)

<font color="red">Hello</font>

c)

<font color="red">hello//</font>

d)

<font colour="red">This is some text!</font>

13.

Which is NOT a browser?

a)

Safari

b)

Google

c)

Internet Explorer

d)

Google Chrome

14.

Which code will make your background red?

a)

<body style=background-color:red;>

b)

<background color=red>

c)

<body bgcolor=red>

d)

<background =red>

15.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

16.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

17.
Which tag will create a line break in a web document?
a)
<hr>
b)
<br>
c)
<h1>
d)
<body>
18.
What tag defines the beginning of a webpage?
a)
<html>
b)
<h1>
c)
<p>
d)
<body>
19.
A properly coded HTML tag will always be found between which two symbols?
a)
( )
b)
{ }
c)
[ ]
d)
< >