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