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