wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

IMSD_Week-1_CSE-1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What attribute defines the URL of an image in HTML?

a)

href

b)

src

c)

link

d)

url

2.

What happens if the image file specified in <img> tag is not found?

a)

Page breaks

b)

An empty box with alt text is shown

c)

Browser ignores it silently

d)

Error message displayed in red

3.

Which of the following will open a link in a new tab or window?

a)

<a href="page.html" new>

b)

<a href="page.html" target="_new">

c)

<a href="page.html" target="_blank">

d)

<a href="page.html" target="open">

4.

Identify the correct syntax to link an email in HTML.

a)

<a href="mail:info@example.com">Mail</a>

b)

<mail href="info@example.com">Mail</mail>

d)

<a mailto="info@example.com">Mail</a>

5.

In nested lists, which tag defines a list inside another list?

a)

<sublist>

b)

<nested>

c)

<li> containing <ul> or <ol>

d)

<list> inside <list>

6.

What does the <dl> tag represent?

a)

Data List

b)

Directory List

c)

Document List

d)

Definition List

7.

Consider this code:

<a href="https://www.google.com" target="_self">Google</a>

What happens when clicked?

a)

Opens in same tab

b)

Opens in a new tab

c)

Opens in a popup

d)

Doesn’t open

8.

What will be the output of this code?

<a href="https://example.com"><img src="logo.png"></a>

a)

Displays a broken link

b)

Displays text “logo.png”

c)

Clickable image linking to example.com

d)

Error

9.

Which of the following correctly creates a hyperlink to open a PDF in a new tab?

a)

<a link="file.pdf" target="new">Download</a>

b)

<a href="file.pdf" target="_blank">Download</a>

c)

<a url="file.pdf" target="open">Download</a>

d)

<a src="file.pdf" target="_blank">Download</a>

10.

Which tag defines a line break in HTML?

a)

<lb>

b)

<break>

c)

<br>

d)

<line>