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