wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

S3 HTML intro

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

Which tag is used to define an ordered (numbered) list in HTML?

a)

<ul>

b)

<ol>

c)

<li>

d)

<li>

2.

Which attribute is used to specify an the image file to be displayed in HTML?

a)

src

b)

alt

c)

href

d)

style

3.

Which tag is used to create a hyperlink in HTML?

a)

<a>

b)

<h1>

c)

<p>

d)

<img>

4.

Which tag is used to create a line break in HTML?

a)

<br>

b)

<hr>

c)

<p>

d)

<a>

5.

Which tag is used to create an ordered list in HTML?

a)

<ul>

b)

<li>

c)

<ol>

d)

<p>

6.

Which tag is used to define a paragraph in HTML?

a)

<p>

b)

<bR>

c)

<div>

d)

<span>

7.

Which attribute is used to specify the target URL for a hyperlink in HTML?

a)

Url

b)

Link

c)

Href

d)

Src

8.

Which tag is used to define the main content of an HTML document?

a)

body

b)

head

c)

html

d)

title

9.

Which attribute is used to specify an image source in HTML?

a)

Src

b)

Img

c)

Alt

d)

Href

10.

All HTML Tags are enclosed in ____________

a)

# and #

b)

? and !

c)

< and >

d)

{ and }

11.

Which is the informal way of making a list? (Bulleted list)

a)

<ol>

b)

<ul>

c)

<i_nfl>

d)

<f_list>

12.

<h1>

a)

paragraph text size

b)

smallest text size

c)

largest text size

d)

middle text size

13.

Define <strong>

a)

Purpose of emphasizing text; bold

b)

Purpose of making the text size smaller; less significant

c)

Purpose of making the text size larger and more readable

d)

Purpose grabbing attention; italics

14.

What is the range of headings and subheadings

a)

<h0> to <h10>

b)

<h0> to <h1>

c)

<h1> to <h6>

d)

<h1> to <h5>

15.

How is the CLOSING list element presented in HTML?

a)

</Li>

b)

</li>

c)

<li>

d)

<LI>

16.

<img src="image.jpg" alt="picture of animals" />

What is the purpose of the "alt" attribute

a)

Works as a caption to an image

b)

Prints the image onto the page

c)

Helps people who have a seeing disability

d)

Tells what the picture shows of fails to load on device

17.

What does the "DOCTYPE" tell you?

a)

Doctype tells the browser what type of HTML we are using.

b)

How to type a document

c)

Where the title should go

d)

What type of computer you are using

18.

Where is the TITLE displayed on a webpage?

a)

at the bottom

b)

in the middle

c)

at the top

d)

webpages don't have titles.

19.
Which tag would correctly display an image called logo.jpeg?
a)
<image = logo.jpeg/>
b)
<img = logo.jpeg/>
c)
<href = "logo.jpeg/>
d)
<img src = "logo.jpeg"/>