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