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