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