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