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