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