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