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