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