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