Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML BASICS

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

<b> is used for

a)

line break

b)

bold

c)

paragraph

d)

heading

2.

Example of empty tag:

a)

head

b)

body

c)

b

d)

br

3.

<hr> is used for:

a)

heading

b)

Horizontal Line

c)

metadata

d)

title

4.

Doctype tag is used for:

a)

holding metadata

b)

holding elements

c)

holding document information

d)

holding input information

5.

Correct representation of empty tag

a)

</hr>

b)

<hr/>

c)

<hr />

d)

<hr>

6.

HTML is a

a)

programing language

b)

markup language

c)

scripting language

7.

Which one it the root container tag

a)

Doctype

b)

html

c)

head

d)

body

8.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
9.
Which of the following is the largest heading? 
a)
h2
b)
h3
c)
h4
d)
h6
10.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
11.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
12.
HTML stands for...
a)
Hyper Text Markup Language
b)
High Tech Marking Language
c)
High Tech Modem Language
d)
Hyper Tech Markup Lexicon
13.
Which is the correct way of defining an HTML5 document?
a)
<!DOCTYPE html>
b)
<!DOCTYPE HTML5>
c)
<!DOCTYPE html "PUBLIC">
d)
<DOCTYPE html>
14.
What is an HTML element?
a)
The starting tag
b)
The ending tag
c)
The content between the tags
d)
Everything from start to end tag
15.
HTML attributes always appear where?
a)
In the opening tag
b)
In the closing tag
c)
Between the tags
d)
After the closing tag
16.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
17.
Which is the correct HTML element for underlining text?
a)
<ul>
b)
<uline>
c)
<u>
d)
<under>
18.
Which character is used to indicate an end tag?
a)
*
b)
<
c)
/
d)
^
19.
What is contained in the 'head' of the HTML code?
a)
All the commands
b)
All the instructions for that page
c)
The data to be displayed
d)
Information that isn't displayed
20.
What is the purpose of this tag
</head>
a)
To start the head part of the file
b)
To end the head part of the file
c)
To stop the program
d)
To link to another web page