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