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