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