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