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