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