wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML quiz - Batch 2

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Which HTML tag is used to create a heading?

a)

<h1>

b)

<h>

c)

<heading>

d)

<b>

2.

Which HTML tag is used to create a link to another web page?

a)

<url>

b)

<link>

c)

<href>

d)

<a>

3.

what is the primary purpose of <kbd> tag ?

a)

to define a keyboard shortcut for navigation

b)

To display keyboard input in a monospaced form

c)

To create a section for keyboard instructions

d)

To insert a keyboard image into a web page

4.

Which HTML tag is used to represent content that is no longer accurate or relevant?

a)

<outdated>

b)

<strike>

c)

<old>

d)

<deprecated>

5.

In HTML, which element is used to group together a set of related form elements within a web form?

a)

<fieldset>

b)

<group>

c)

<formset>

d)

<section>

6.

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

a)

It defines a line break within a paragraph

b)

It specifies a hyperlink within a document

c)

It indicates a word break opportunity for line wrapping

d)

It creates a block level container for content

7.

which html tag is used to create a video elemnt ?

a)

<video>

b)

<embed>

c)

<iframe>

d)

All of the above

8.

Which HTML tag is used to create a microdata element?

a)

<itemtype>

b)

<itemprop>

c)

<meta>

d)

All of the above

9.

Which HTML tag is used to create an accessible element?

a)

<label>

b)

<input>

c)

<button>

d)

<All of the above

10.

What is the correct way to close an HTML tag?

a)

</tag>

b)

/>

c)

both

d)

niether

11.

This language _______________was developed by ___________

a)

Hyper Text Mark up Language, Laudon

b)

Hyper Text Make up Language, Tim Berners Lee

c)

Hyper Text Mark Up Language, Tim Berners Lee

d)

Hyper text Mark up language , dennis richee

12.

A "Container Tag" in HTML has _______

a)

Only Ending Tag

b)

Only Starting Tag

c)

Both Starting and Ending

d)

None

13.

Choose the correct HTML element for the largest heading?

a)

<h6>

b)

<head>

c)

<heading>

d)

<h1>

14.

What is the correct HTML element for inserting a line break?

a)

<br>

b)

<lb>

c)

<break>

d)

<brk>

15.

Choose the correct HTML element to define emphasized text?

a)

<italic>

b)

<i>

c)

<em>

d)

<font>

16.

Which character is used to indicate an end tag?

a)

/

b)

*

c)

#

d)

&

17.

Which HTML element defines the title of a document?

a)

<meta>

b)

<head>

c)

<title>

d)

<document>

18.

Which of the following tags is used to make a portion of text italic in HTML?

a)

<italic>

b)

<i>

c)

<style="italic">

d)

<style="i">

19.

Which among the following is correct HTML code for making a checkbox?

a)

<checkbox>

b)

<input type="checkbox">

c)

<check>

d)

<input type="check">

20.

In HTML a color can be specified by using what?

a)

HEX value

b)

RGB value

c)

color name

d)

all of these

21.

How can you make a list that lists the items with numbers? (1,2,... i,ii,.... I,II,...) ?.

a)

<ul>

b)

<list>

c)

<li>

d)

<ol>

22.

<th></th> is the code for ..... ?

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

23.

Which of the following HTML tag is the special formatting tag?

a)

<p>

b)

<b>

c)

<pre>

d)

<none of the above>

24.

What is the correct HTML for inserting an image?


a)

<img href="image.gif" alt="MyImage">


b)

<image src="image.gif" alt="MyImage">

c)

<img alt="MyImage">image.gif</img>

d)

<img alt="MyImage">image.gif</img>

25.

In HTML, what is the purpose of the <legend> tag when used with the <fieldset> element?

a)

It defines a border around the fieldset.

b)

It specifies the background color for the fieldset.

c)

It provides a caption or description for the fieldset.

d)

It indicates a required field within the fieldset.