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