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