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