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