wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Part 1

Total questions: 25

Worksheet time: 37mins

Name
Class
Date
1.

This tag tells the computer this is a document written in HTML.

a)

<p>

b)

<!DOCTYPE html>

c)

<h1>

d)

<html>

2.

This tag contains all the main contents of your webpage.

a)

<body>

b)

<head>

c)

<contents>

d)

<p>

3.

This tag defines a heading at the smallest size.

a)

<h6>

b)

<h2>

c)

<h7>

d)

<h1>

4.

This tag defines a heading at the largest size.

a)

<h1>

b)

<h20>

c)

<h3>

d)

<h2>

5.

Which of the following is not a heading tag?

a)

<h7>

b)

<h1>

c)

<h2>

d)

<h4>

6.

Match the correct end tag...

<p>

a)

<p/>

b)

<\p>

c)

</p>

d)

</P>

7.

This tag can be used to break line of text (move to a new line) inside a paragraph.

a)

<br>

b)

<break>

c)

<bl>

d)

<nl>

8.

Where do we always type all of our tags?

a)

between the head tags

b)

between the body tags

c)

wherever you want

d)

between the paragraph tags

9.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

10.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

11.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
12.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

13.

The <head> tags store metadata and other information, like the title

a)

True

b)

False

14.

which is not an example of a closing tag?

a)

</p>

b)

<ul>

c)

</html>

d)

</h3>

15.

This tag inserts a break at the point where the tag appears.

a)

</br>

b)

<br>

c)

<hr>

d)

</hr>

16.

Indicates the start of an item that will be underlined.

a)

<u>

b)

</u>

c)

<ul>

d)

</ul>

17.

Inserts a horizontal rule (line).

a)

<meta/>

b)

<hn>

c)

<hr>

d)

<br/>

18.
The <body> tag comes after the <head> tag - true or false?
a)
True
b)
False
19.

T/F: If you want a heading to be bold, you need to use <b> and </b> as well as <h1> and </h1>.

a)

True

b)

False

20.

T/F: When you use </h1> to end a heading, any text after that will automatically be moved down to the next line.

a)

True

b)

False

21.

All of your html content - headings, paragraphs, images, etc. - should go between which tags in the html skeleton?

a)

<head>...</head>

b)

<body>...</body>

c)

<content>...</content>

22.

Which tags would put text in italics?

a)

<p>....</p>

b)

<i>...</i>

c)

<body>...</body>

d)

<b>...</b>

23.

Which tags would put text in bold?

a)

<p>....</p>

b)

<i>...</i>

c)

<body>...</body>

d)

<b>...</b>

24.

Which html tag ENDS a paragraph?

a)

<p>

b)

<br>

c)

</p>

d)

</body>

25.

What line does the page content go on?

a)

4

b)

7

c)

1-9

d)

2-8