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