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