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