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