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