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