wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Basic HTML Tags

Total questions: 15

Worksheet time: 15mins

Name
Class
Date
1.

What does HTML stands for?

a)

Hypertext Machine language

b)

Hypertext and links markup language

c)

Hypertext Markup Language

d)

Hightext machine language

2.

Which of the following HTML Elements is used for making any text bold ?

a)

<i>

b)

<b>

c)

<p>

d)

<li>

3.

Which of the following HTML element is used for creating an unordered list?

a)

<li>

b)

<ol>

c)

<ul>

d)

<p>

4.

Which of the following characters indicate closing of a tag?

a)

/

b)

?

c)

\

d)

#

5.

How many heading tags are there in HTML5?

a)

2

b)

3

c)

5

d)

6

6.

Which of the following attributes is used to add link to any element?

a)

link

b)

ref

c)

href

d)

newref

7.

Which of the following is the correct way of creating an hyperlink in HTML?

a)

<a>www.geeksforgeeks.org <Geeksforgeeks /a>

b)

<a href=“www.geeksforgeeks.org” Geeksforgeeks /a>

c)

<a href= “www.geeksforgeeks.org”>Geeksforgeeks</a>

d)

<a link=“www.geeksforgeeks.org” Geeksforgeeks> </a>

8.

Which of the following tags is used to add a line-break in HTML?

a)

<br>

b)

<break>

c)

</break>

d)

none of the above

9.

Which among the following is the correct way in HTML to insert an image?

a)

<img url=“https://bit.ly/2FicgIx”>Geeksforgeeks</img>

b)

<img href=“https://bit.ly/2FicgIx” alt= “Geeksforgeeks”></img>

c)

<img src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”>

d)

<image src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”></image>

10.

Choose the correct HTML element for the largest heading

a)

<heading>

b)

<h1>

c)

<h6>

d)

<head>

11.

How can you open a link in a new tab/browser window?

a)

<a href="url" target="_blank">

b)

<a href="url" new>

c)

<a href="url" target="new">

12.

How can you make a numbered list?

a)

<li>

b)

<ol>

c)

<ul>

d)

<list>

13.

HTML comments start with <!-- and end with -->

a)

True

b)

False

14.

Which HTML element defines the title of a document?

a)

<html>

b)

<title>

c)

<head>

d)

<meta>

15.

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a)

title

b)

alt

c)

src

d)

color