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