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