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