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