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