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