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