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