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