HTML Worksheet: Links a href
Code tip (Where and what): A link is <a href="address">words to click</a>. href holds where it goes; the text between the tags is what you click. target="_blank" opens the link in a new tab.
NameDateTime takenScore ___ / 40
-
1.🔗 Which address opens when you click this link?
<a href="quiz.html">About us</a> (a) About us (b) games.html (c) quiz.html (d) about.html - 2.🔗 What does target="_blank" do to a link? (a) makes it bold (b) opens it in a new tab (c) hides the link (d) makes it blank
-
3.🔗 Which words do you click on?
<a href="https://example.com">Play games</a> (a) https://example.com (b) href (c) About us (d) Play games -
4.🔗 Which words do you click on?
<a href="games.html">Contact us</a> (a) Visit the site (b) Contact us (c) games.html (d) href -
5.🔗 Which address opens when you click this link?
<a href="maths.html">About us</a> (a) About us (b) art.html (c) maths.html (d) news.html -
6.🔗 Which words do you click on?
<a href="art.html">Visit the site</a> (a) Maths fun (b) href (c) Visit the site (d) art.html -
7.🔗 Which address opens when you click this link?
<a href="quiz.html">Play games</a> (a) games.html (b) Play games (c) quiz.html (d) about.html - 8.🔗 Which code links to about.html? (a) <a alt="about.html"> (b) <a src="about.html"> (c) <a href="about.html"> (d) <link about.html>
-
9.🔗 Where does this link open?
<a href="maths.html" target="_blank">Art corner</a> (a) in the same tab (b) in a new tab -
10.🔗 Which words do you click on?
<a href="about.html">School news</a> (a) about.html (b) Take the quiz (c) School news (d) href -
11.🔗 Which address opens when you click this link?
<a href="https://example.com">Maths fun</a> (a) art.html (b) maths.html (c) https://example.com (d) Maths fun -
12.🔗 Which address opens when you click this link?
<a href="quiz.html">School news</a> (a) about.html (b) games.html (c) School news (d) quiz.html -
13.🔗 Which address opens when you click this link?
<a href="quiz.html">Maths fun</a> (a) games.html (b) about.html (c) Maths fun (d) quiz.html -
14.🔗 Which address opens when you click this link?
<a href="about.html">Play games</a> (a) contact.html (b) https://example.com (c) Play games (d) about.html -
15.🔗 Which words do you click on?
<a href="games.html">Play games</a> (a) games.html (b) About us (c) href (d) Play games -
16.🔗 Which words do you click on?
<a href="contact.html">Take the quiz</a> (a) Take the quiz (b) contact.html (c) href (d) Play games -
17.🔗 Which address opens when you click this link?
<a href="maths.html">Contact us</a> (a) Contact us (b) maths.html (c) art.html (d) news.html -
18.🔗 Which words do you click on?
<a href="https://example.com">School news</a> (a) Take the quiz (b) https://example.com (c) School news (d) href -
19.🔗 Where does this link open?
<a href="contact.html">School news</a> (a) in a new tab (b) in the same tab -
20.🔗 Which address opens when you click this link?
<a href="quiz.html">Visit the site</a> (a) games.html (b) quiz.html (c) Visit the site (d) about.html -
21.🔗 Where does this link open?
<a href="https://example.com">Take the quiz</a> (a) in a new tab (b) in the same tab -
22.🔗 Which address opens when you click this link?
<a href="contact.html">Visit the site</a> (a) Visit the site (b) maths.html (c) https://example.com (d) contact.html -
23.🔗 Where does this link open?
<a href="art.html">About us</a> (a) in a new tab (b) in the same tab -
24.🔗 Which address opens when you click this link?
<a href="https://example.com">About us</a> (a) art.html (b) maths.html (c) About us (d) https://example.com - 25.🔗 Which tag makes a clickable link? (a) <img> (b) <a> (c) <p> (d) <link>
-
26.🔗 Where does this link open?
<a href="art.html" target="_blank">About us</a> (a) in the same tab (b) in a new tab -
27.🔗 Which words do you click on?
<a href="art.html">Art corner</a> (a) href (b) School news (c) Art corner (d) art.html -
28.🔗 Where does this link open?
<a href="contact.html">Visit the site</a> (a) in the same tab (b) in a new tab -
29.🔗 Which words do you click on?
<a href="about.html">Maths fun</a> (a) Art corner (b) href (c) Maths fun (d) about.html -
30.🔗 Which words do you click on?
<a href="contact.html">Play games</a> (a) About us (b) Play games (c) contact.html (d) href -
31.🔗 Where does this link open?
<a href="https://example.com">About us</a> (a) in the same tab (b) in a new tab -
32.🔗 Which words do you click on?
<a href="games.html">School news</a> (a) href (b) School news (c) Take the quiz (d) games.html -
33.🔗 Which words do you click on?
<a href="maths.html">About us</a> (a) Contact us (b) About us (c) href (d) maths.html -
34.🔗 Which address opens when you click this link?
<a href="contact.html">School news</a> (a) maths.html (b) https://example.com (c) School news (d) contact.html -
35.🔗 Which words do you click on?
<a href="news.html">About us</a> (a) Contact us (b) About us (c) href (d) news.html -
36.🔗 Where does this link open?
<a href="contact.html">Take the quiz</a> (a) in the same tab (b) in a new tab -
37.🔗 Which words do you click on?
<a href="about.html">Visit the site</a> (a) href (b) about.html (c) Visit the site (d) Maths fun - 38.🔗 Which attribute holds the address of a link? (a) id (b) src (c) alt (d) href
-
39.🔗 Which address opens when you click this link?
<a href="art.html">Visit the site</a> (a) quiz.html (b) Visit the site (c) art.html (d) news.html -
40.🔗 Which address opens when you click this link?
<a href="art.html">Art corner</a> (a) quiz.html (b) Art corner (c) art.html (d) news.html
Answer key
- quiz.html
- opens it in a new tab
- Play games
- Contact us
- maths.html
- Visit the site
- quiz.html
- <a href="about.html">
- in a new tab
- School news
- https://example.com
- quiz.html
- quiz.html
- about.html
- Play games
- Take the quiz
- maths.html
- School news
- in the same tab
- quiz.html
- in the same tab
- contact.html
- in the same tab
- https://example.com
- <a>
- in a new tab
- Art corner
- in the same tab
- Maths fun
- Play games
- in the same tab
- School news
- About us
- contact.html
- About us
- in the same tab
- Visit the site
- href
- art.html
- art.html
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids