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