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