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