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