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