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