wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Assignment

Total questions: 20

Worksheet time: 4mins

Name
Class
Date
1.

1) HTML stands for -

a)

HighText Machine Language

b)

HyperText and links Markup Language

c)

HyperText Markup Language

d)

None of these

2.

Which of the following element is responsible for making the text bold in HTML?

a)

<pre>

b)

<a>

c)

<b>

d)

<br>

3.

Which of the following tag is used for inserting the largest heading in HTML?

a)

<h3>

b)

<h1>

c)

<h5>

d)

<h6>

4.

Which character is used to represent the closing of a tag in HTML?

a)

<\ >

b)

<! >

c)

</ >

d)

<. >

5.

How to create a hyperlink in HTML?

a)

<a href = "www.javatpoint.com"> javaTpoint.com </a>

b)

<a url = "www.javatpoint.com" javaTpoint.com /a>

c)

<a link = "www.javatpoint.com"> javaTpoint.com </a>

d)

<a> www.javatpoint.com <javaTpoint.com /a>

6.

Which of the following element is responsible for making the text italic in HTML?

a)

<i>

b)

<italic>

c)

<pre>

d)

<it>

7.

How to insert an image in HTML?

a)

<img href = "jtp.png" />

b)

<img url = "jtp.png" />

c)

<img link = "jtp.png" />

d)

<img src = "jtp.png" />

8.

Which of the following tag is used to make the underlined text?

a)

<i>

b)

<pre>

c)

<ul>

d)

<u>

9.

Which of the following is the paragraph tag in HTML?

a)

<p>

b)

<b>

c)

<pre>

d)

None of the above

10.

An HTML program is saved by using the ____ extension.

a)

.ht

b)

.html

c)

.hml

d)

None of the above

11.

A program in HTML can be displayed and read by -

a)

Web browser

b)

Server

c)

Interpreter

d)

None of the above

12.

The tags in HTML are -

a)

case-sensitive

b)

in upper case

c)

not case sensitive

d)

in lowercase

13.

Which computer language structures all webpages on the internet?

a)

Java

b)

HTML

c)

CSS

d)

JS

14.

Challenge yourself

Code a paragraph that displays Hello HTML

a)

<p> Hello HTML </p>

b)

P = Hello HTML

15.

Which one of these tags creates a heading?

a)

<p>

b)

<h1>

c)

<img>

16.

Challenge yourself

Code a heading that displays Hello World

a)

<h1>Hello World</h1>

b)

h1= Hello World

c)

<h1>Hello World<h1>

17.

<img> is a ............. tag

a)

insert image

b)

Paragraph

c)

Header

18.

Which of the following element is responsible for making new line in HTML?

a)

<br>

b)

<a>

c)

<b>

d)

<pre>

19.

Which of the following tag is used for inserting the smallest heading in HTML?

a)

<h3>

b)

<h1>

c)

<h5>

d)

<h6>

20.

Challenge yourself

Code a title inside the head section .....

a)

<title> .... </title>

b)

<header> </header>

c)

<h1>........<h1>