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