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