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