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