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