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