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