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