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