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