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