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