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