wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Day-1

Total questions: 25

Worksheet time: 15mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyperlinks and Text Markup Language

b)

Home Tool Markup Language

c)

HyperText Markup Language

d)

Hyper Transfer Markup Language

2.

HTML tags are usually written inside which symbols?

a)

{ }

b)

( )

c)

[ ]

d)

< >

3.

Which HTML tag is used to create a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<url>

4.

Which tag is used to define the root of an HTML document?

a)

<head>

b)

<body>

c)

<html>

d)

<doctype>

5.

Which tag contains meta information like title and character set?

a)

<body>

b)

<meta>

c)

<head>

d)

<title>

6.

The declaration <!DOCTYPE html> tells the browser that the document is an (a)   document.

7.

Which of the following is the correct HTML element syntax?

a)

<p> Hello World </p>

b)

<p> Hello World <p>

c)

p>Hello World</p>

d)

<p>Hello World

8.

HTML elements usually have an opening tag, content, and a (a)   tag.

9.

An HTML element is made up of __________.

a)

Only opening tag

b)

Only closing tag

c)

Opening tag, content, and closing tag

d)

Only attributes

10.

Which attribute is used to provide additional information about an element?

a)

Tag

b)

Element

c)

Content

d)

Attribute

11.

Attributes are always written inside the (a)   tag of an HTML element.

12.

The <em> tag is used to show (a)   text.

13.

Which tag is used to show text as important (semantic emphasis)?

a)

<b>

b)

<i>

c)

<strong>

d)

<u>

14.

What is the main purpose of HTML entities?

a)

To create styles

b)

To add images

c)

To display reserved or special characters

d)

To link web pages

15.

Which attribute is used to provide a unique name to an HTML element?

a)

class

b)

id

c)

name

d)

style

16.

Which attribute is used to apply CSS styles directly to an element?

a)

class

b)

id

c)

style

d)

title

17.

Which HTML tag is used to create an unordered list?

a)

<ol>

b)

<li>

c)

<ul>

d)

<list>

18.

Which type of list displays items with numbers?

a)

Unordered list

b)

Description list

c)

Ordered list

d)

Bullet list

19.

Which HTML tag is used to create a table?

a)

<tab>

b)

<tr>

c)

<table>

d)

<header>

20.

The (a)   attribute is used to merge columns in a table.

21.

Which attribute is used to specify the URL in a link tag?

a)

src

b)

link

c)

href

d)

url

22.

Which tag is used to insert an image in HTML?

a)

<picture>

b)

<imgsrc>

c)

<img>

d)

<image>

23.

Which tag is used to define a table header cell?

a)

<td>

b)

<thead>

c)

<th>

d)

<header>

24.

Which attribute is used to apply inline CSS?

a)

class

b)

id

c)

style

d)

font

25.

Which attribute is used to group multiple elements for styling?

a)

id

b)

name

c)

class

d)

style