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