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