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