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