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