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