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