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