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