WorksheetsHTML-LINKS
Total questions: 10
Worksheet time: 10mins
Which is the correct syntax for a link?
<a href="url">link text</a>
<a href="url" link text>
<a href=url>link text</a>
<a href="url" link text</a>
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>
the current
a new
the target
a blank
Which of the following can be made into a link?
an image
a list item
an <h1> tag
<p> tags
The correct syntax for a link to an email address is
<a href="mailto:someone@example.com">Send email</a>
<a href="someone@example.com">Send email</a>
<a href=mailto:someone@example.com>Send email</a>
<a href="mailto:someone@example.com">
What is the purpose of the target attribute in the code above?
It tells the browser to make your screen blank when you click the link.
It tells the browser to open the link in the same tab when you click the link.
It tells the browser to open the link in a new tab when you click the link.
It tells the browser to open the link in a different browser when you click the link.
Why won't this navigation link page work?
The href link should be "Foods.html"
The end tag should be <a> not </a>
The "Foods" page hasn't been made active
The link should be <a href = "Foods.html"
Which attribute contains the URL to a linked web page?
href
type
src
name
