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