wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Basics

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

What does HTML stand for?

a)

Home Tool Markup Language

b)

Hyper Text Markup Language

c)

Hyperlink and Text Markup Language

d)

High-Level Text Modeling Language

2.

Which HTML tag is used for creating a hyper link?

a)

<head>

b)

<src>

c)

<href>

d)

<a>

3.

What is the HTML tag for inserting a line break ?

a)

<lb>

b)

<break>

c)

<br>

d)

<newline>

4.

Which HTML attribute is used to specify the alternative text for an image, in case the image cannot be displayed?

a)

title

b)

alt

c)

src

d)

ERROR

5.

What is the purpose of the HTML <img> tag?

a)

creates an image

b)

generates line break

c)

inserts a new line

d)

defines an input field

6.

Which HTML tag is used for making an unordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<dl>

7.

Which of the following HTML elements is used for creating a table?

a)

<table>

b)

<tr>

c)

<td>

d)

<tble>

8.

What does the HTML tag <em> represent?

a)

It defines a division or section in an HTML document.

b)

It creates emphasized text, typically displayed in italics.

c)

It represents an embedded object, such as an image or a video.

d)

It defines an ordered list.

9.

In HTML, what is the purpose of the <div> tag?

a)
To create a division or container for other HTML elements
b)
To format text
c)
To display an image
d)
To define a hyperlink
10.

Which HTML tag is used for creating an ordered list?

a)
  1. <ol>

b)

<ul>

c)
  • <li>

d)
  • <list>

11.

T/F: All HTML tags have an end tag

a)

True

b)

False

12.

How many heading tags does HTML have?

a)
10
b)
8
c)
6
d)
3
13.

The correct sequence of HTML tags for starting a webpage is

a)
  1. Head, Title, HTML, body

b)
  1. HTML, Body, Title, Head

c)
  1. HTML, Head, Title, HTML

d)
  1. HTML, Head, Title, Body

14.

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

a)

<pre>

b)

<a>

c)

<b>

d)

<br>

15.

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

a)

<h1>

b)

<h2>

c)

<h3>

d)

<h4>