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