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