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