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