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