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