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