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