Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Grade 10 Links and Anchors

Total questions: 35

Worksheet time: 26mins

Name
Class
Date
1.

Which is the correct syntax for a link?

a)

<a href="url">link text</a>

b)

<a href="url" link text>

c)

<a href=url>link text</a>

d)

<a href="url" link text</a>

2.

The correct syntax for a link to an email address is

a)

<a href="mailto:

someone@example.com">Send email</a>

b)

<a href="someone@example.com">

Send email</a>

c)

<a href=mailto:someone@example.com>

Send email</a>

d)

<a href="mailto:

someone@example.com">

3.

What is the purpose of the target attribute in the code above?

a)

It tells the browser to make your screen blank when you click the link.

b)

It tells the browser to open the link in the same tab when you click the link.

c)

It tells the browser to open the link in a new tab when you click the link.

d)

It tells the browser to open the link in a different browser when you click the link.

4.
Which of the following do you use to create a hyperlink in an HTML document?
a)
The <html> element
b)
The <hr> element
c)
The <img> element
d)
The <a> element
5.
What is the default appearance of hyperlinks in the browser?
a)
Italic and purple
b)
Blue and underlined
c)
Bold and Italic
d)
Purple and underlined
6.

Which attribute contains the URL to a linked web page?

a)

href

b)

type

c)

src

d)

name

7.

HTML links can be used to create bookmarks, so that readers can jump to specific parts of a web page.

a)

True

b)

False

8.

By default, an unvisited link is underlined and green.

a)

True

b)

False

9.

By default, an active link is underlined and red.

a)

True

b)

False

10.

Use the correct HTML attribute to make the link open in a new window.

a)

<a href="html_images.asp" target="_blank">HTML Images</a>

b)

<a href="html_images.asp" target="_self">HTML Images</a>

11.

Which code below is correct for a hyperlink

a)

<a>"https://google.com"

Click Me</a>

b)

<a>Click Me>

"https://google.com"</a>

c)

<a herf="https://google.com">

Click Me</a>

d)

<a href="https://google.com">

Click Me</a>

12.

Which of the following assumes the current document's path so that all references are made from the document's current directory?

a)

Targeted URL

b)

Absolute URL

c)

Relative URL

d)

Fully qualified URL

13.

An internal hyperlink is a link you can use to jump to another __________.

a)
section on the same Web page.
b)
Web site.
c)
Web browser.
d)
page on the Web site.
14.

Consider the following anchor element:

<a href="http://www.habitat.org">Habitat</a>

In this example, to what does "Habitat" refer?

a)

The section of your Web page to which the destination page is linked

b)

The target of your hyperlink

c)

The page label that will be affected by the anchor element

d)

The page text that will display when you access the destination Web page via the anchor element

15.
What occurs when a reference page is moved or deleted, or if page content is changed and all anchors are renamed or lost? 
a)
All successive Web page text becomes a hyperlink.
b)
All hyperlinks that link to that page continue to function.
c)
All hyperlinks that link to that page become invalid.
d)
The text or images to which the hyperlink refer disappear.
16.

Consider the following anchor element:

<a href="http://www.habitat.org">Habitat</a>

In this example, to what does "http://www.habitat.org" refer?

a)

The external website or destination that the hyperlink is referring to.

b)

The title of the webpage

c)

The page label that will display when you access the destination Web page via the anchor element

d)

The alternative text that will be affected by the anchor element

17.
What does url stand for?
a)
Unlimited Resource Locator
b)
Uniform Resource Locator
c)
Useful Research Locator
d)
Uniform Resource List
18.

By default, the linked page will be displayed in ______________ browser window.


In other words, where will the following link open:

<a href="https://www.w3schools.com/">Visit W3Schools!</a>

a)

the current

b)

a new

c)

the target

d)

a blank

19.

Why won't the following anchor tag work?

<a href=https://www.google.com/>click here</a>

a)

The link is incorrect. it should be ref, not href

b)

The URL is missing quotation marks

c)

There is no anchor tag in the code

d)

The href is missing a closing tag

20.

How can I make this hyperlink text say PICTURES?


<a href="pictures.html"> LIST </a>

a)

change "pictures.html" to "PICTURES"

b)

change LIST to PICTURES

c)

change href to img

21.

How does a hyperlink tag END?

a)

<a href=

b)

.html

c)

</a>

d)

a

22.

What is missing from this image tag?


<img="cat.jpeg" alt="cat"/>

a)

h1

b)

h6

c)

.jpeg

d)

src=

23.

The tags used for lists are:

a)

<ul>

b)

<li>

c)

<ol>

d)

<il>

24.

Which list tag would you use for an unordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

25.

Mr. Sutton is ranking his favorite nicknames for his dog Pippin. What tags should he use for his list?

a)

ol

b)

ul

c)

a

d)

li

26.

What tag is always included in the code for an ordered or unordered list?

a)

<li>

b)

<ol>

c)

<ul>

d)

<list>

27.

Ordered lists are used...

a)

To display a list of items that need to be in a specific order

b)

To display a list of items that can be in any order

c)

To display descriptions of items in a list

d)

To display a list of randomly generated items

28.

What is the correct HTML tag for a list item?

a)

<li>

b)

<item>

c)

<list>

d)

<l>

29.

Unordered Lists are used...

a)

To display a list of items that need to be in a specific order

b)

To display a list of items that can be in any order

c)

To display descriptions of items in a list

d)

To display a list of randomly generated items

30.

TRUE OR FALSE:

Ordered Lists can only order items by using numbers

a)

True

b)

False

31.

An attribute does which of the following...

a)

Applies changes to everything

b)

Provides different options for each tag

c)

Prevents changes to the site

d)

Gives structure and text

32.

Which of these tags creates a bulleted list?

a)

<LI>

b)

<OL>

c)

<UL>

d)

<BL>

33.

A numbered list is called a(n) ______ list in HTML.

a)

Numbered

b)

Ordered

c)

Sequential

d)

Indexed

34.

Which of these correctly adds a picture to a webpage?

a)

<img src="tree.jpg" alt="Grand Oak" />

b)

<img src="Grand Oak" alt="tree.jpg" />

c)

<img src="tree.jpg" />

d)

<img alt="tree.jpg" />

35.
What type of list is this?
a)
Ordered
b)
House
c)
Bulleted
d)
Unordered