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