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