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