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