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