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