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