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