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