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