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