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