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