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