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