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