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