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