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