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