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