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