Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz 01

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.

Which HTML tag is used to define a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<link>

2.

Which of the following is the example of 'Block element' ?

a)

<a>......</a>

b)

<img .....>

c)

<strong>.....</strong>

d)

<p>.....</p>

3.

HTML uses _________?

a)

Predefined tags

b)

User-defined tags

c)

Fixed tags

d)

tags for link only

4.

Which tags tells the browser where the page starts and stops?

a)

<body>

b)

<html>

c)

<head>

d)

<title>

5.

Generally, there are

a)

4 headers in most HTML pages

b)

5 headers in most HTML pages

c)

6 headers in most HTML pages

d)

7 headers in most HTML pages

6.

Which HTML tag is used to insert an image?

a)

<img url=”htmllogo.jpg” />

b)

<img alt=”htmllogo.jpg” />

c)

<img src=”htmllogo.jpg” />

d)

<img link=”htmllogo.jpg” />

7.

In HTML, which attribute is used to create a link that opens in a new window tab?

a)

src=”_blank”

b)

alt=”_blank”

c)

target=”_self”

d)

target=”_blank”

8.

How to add a background color in HTML?

a)
  1. <marquee bg color: "red">

b)
  1. <marquee bg-color = "red">

c)
  1. <marquee bgcolor = "red">

d)
  1. <marquee color = "red">

9.

Which of the following is the correct way to send mail in HTML?

a)
  1. <a href = "mailto: xy@y">

b)
  1. <a href = "xy@y">

c)
  1. <mail xy@y</mail>

d)
  1. None of the above

10.

Which of the following is the correct way to change the font face in HTML?

a)
  1. <font name = "Calibri"> ……… </font>

b)
  1. <font face = "Calibri"> ……… </font>

c)
  1. <font = "Calibri"> ……… </font>

d)
  1. None of the above

11.

The "charset" attribute can be applied to only one <meta> element per HTML document.

a)

True

b)

False

12.

What is the primary difference between a DIV and a SPAN element?

a)

DIV is commonly used and SPAN is deprecated

b)

A DIV is used for block level elements and a SPAN is used for inline elements.

c)

A DIV is used with primary elements while a SPAN is used with secondary elements.

d)

A DIV is used for inline elements and a SPAN is used for block level elements.

13.

For the given code, which line is having error?

<meta charset=UTF-8>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name=description content="This is a description">

a)

Line 1

b)

Line 2

c)

Line 3

d)

No error