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