wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

HTML stands for

a)

Hyper Text Makeup Language

b)

Hyper Text Markup Language

c)

High Text Marking Language

d)

Hyperlink and Text Marking Language

2.

Which tag is used to display a numbered list?

a)

<ul>

b)

<ol>

c)

<dl>

d)

<li>

3.

Which HTML tag is used to display images?

a)

<image>

b)

<pic>

c)

<img>

d)

<src>

4.

Which attribute is used to provide alternative text for images

a)

alt

b)

text

c)

description

d)

title

5.

HTML documents are saved with the extension

a)

.ht

b)

.html

c)

.doc

d)

.text

6.

The correct HTML element for the largest heading is

a)

<h3>

b)

<h1>

c)

<heading>

d)

<head>

7.

Which HTML element is used to create a hyperlink?

a)

<link>

b)

<url>

c)

<href>

d)

<a>

8.

What is the purpose of the <meta> tag in HTML?

a)

To insert images

b)

To create a navigation menu

c)

To style the document

d)

To define metadata about an HTML document

9.

Which HTML tag is used to define an unordered list?

a)

<ol>

b)

<ul>

c)

<li>

d)

<list>

10.

What does the <title> tag define in an HTML document?

a)

The title of the webpage displayed in the browser tab

b)

The main content of the page

c)

The header section of the document

d)

The footer information

11.

Which attribute is used to specify the destination of a hyperlink?

a)

target

b)

link

c)

src

d)

href

12.

Which HTML element is used to create a scrolling text effect?

a)

<animate>

b)

<text>

c)

<scroll>

d)

<marquee>

13.

What attribute is used to specify the number of rows in a text area within a form?

a)

height

b)

size

c)

cols

d)

rows

14.

Which HTML tag is used to create a table row?

a)

<tr>

b)

<table>

c)

<td>

d)

<th>

15.

Which HTML tag is used to create a table header cell?

a)

<th>

b)

<header>

c)

<td>

d)

<caption>

16.

Which HTML element is used to create a dropdown list in a form?

a)

<list>

b)

<option>

c)

<input>

d)

<select>

17.

What is the purpose of the <div> tag in HTML?

a)

To insert an image

b)

To define a section in a document

c)

To create a hyperlink

d)

To create a list

18.

What is the purpose of the 'src' attribute in the <img> tag?

a)

To provide alternative text

b)

To specify the image format

c)

To define the image source URL

d)

To set the image size

19.

What is the purpose of the <link> tag in HTML?

a)

To insert images

b)

To define metadata

c)

To create a hyperlink

d)

To link to external stylesheets

20.

Which HTML element is used to define a section in a document?

a)

<section>

b)

<div>

c)

<header>

d)

<article>