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