wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML - Level 1

Total questions: 12

Worksheet time: 80secs

Name
Class
Date
1.

What is HTML used for?

a)

Content and structure

b)

Design and styling

c)

Interactivity and behaviour

d)

All of the above

2.

Which of the following syntax is correct?

a)

<h1>Hello world

b)

<h1 = Hello world>

c)

<h1>Hello world</h1>

d)

Hello world</h1>

3.

What do you NOT use HTML for?

a)

Text

b)

Images

c)

Colors

d)

Links

4.

What should a <p> NOT be used for?

a)

Titles or headings

b)

Sentences

c)

Long blocks of text

d)

Captions

5.

What is the correct syntax for adding an image?

a)

<img ="myimagelink.jpg">

b)

<img> src="myimagelink.jpg"

c)

<img src="myimagelink.jpg">

d)

<img>"myimagelink.jpg"</img>

6.

What does the "src" in <img src="address.jpg"> stand for?

a)

Screen

b)

Script

c)

School

d)

Source

7.

What brackets does HTML use?

a)

< >

b)

{ }

c)

Both < > and { }

d)

[ ]

8.

All HTML elements require a closing tag (e.g. <div></div>), except for...?

a)

<img src="address.jpg">

b)

<h1>

c)

<p>

d)

<a href="address.com">

9.

What is a <div> element used for?

a)

To create sections on a webpage

b)

To write text

c)

To add a background

d)

To style a webpage

10.

How would you add an element inside a <div>?

a)
b)
c)
d)
11.

How do you create a <div> element?

a)

<div>

b)

div

c)

<div><div>

d)

<div></div>

12.

What is the correct syntax for adding a link?

a)
b)
c)
d)