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