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