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