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