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