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