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