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