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