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