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