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