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