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