← Links with a href lesson New set →

HTML Worksheet: Links a href

HTML and CSS lesson 6: Links with a href · Set 21 · 40 questions
TalentJR

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. 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. 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. 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. 4.🔗 Where does this link open?
    <a href="games.html">Maths fun</a>
    (a) in the same tab (b) in a new tab
  5. 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. 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. 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. 8.🔗 Which tag makes a clickable link? (a) <img> (b) <a> (c) <link> (d) <p>
  9. 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. 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. 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. 12.🔗 Where does this link open?
    <a href="quiz.html">About us</a>
    (a) in the same tab (b) in a new tab
  13. 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. 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. 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. 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. 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. 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. 19.🔗 Where does this link open?
    <a href="maths.html">School news</a>
    (a) in the same tab (b) in a new tab
  20. 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. 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. 22.🔗 Which attribute holds the address of a link? (a) alt (b) src (c) id (d) href
  23. 23.🔗 Where does this link open?
    <a href="news.html">About us</a>
    (a) in a new tab (b) in the same tab
  24. 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. 25.🔗 Where does this link open?
    <a href="quiz.html">Art corner</a>
    (a) in the same tab (b) in a new tab
  26. 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. 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. 28.🔗 Where does this link open?
    <a href="contact.html">Maths fun</a>
    (a) in the same tab (b) in a new tab
  29. 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. 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. 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. 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. 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. 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. 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. 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. 37.🔗 Where does this link open?
    <a href="news.html">School news</a>
    (a) in the same tab (b) in a new tab
  38. 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. 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. 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

  1. in a new tab
  2. opens it in a new tab
  3. Visit the site
  4. in the same tab
  5. <a href="about.html">
  6. in the same tab
  7. Maths fun
  8. <a>
  9. Contact us
  10. School news
  11. news.html
  12. in the same tab
  13. Contact us
  14. Take the quiz
  15. About us
  16. in a new tab
  17. in the same tab
  18. Play games
  19. in the same tab
  20. games.html
  21. maths.html
  22. href
  23. in the same tab
  24. Maths fun
  25. in the same tab
  26. Art corner
  27. in the same tab
  28. in the same tab
  29. Visit the site
  30. Art corner
  31. in a new tab
  32. Contact us
  33. contact.html
  34. art.html
  35. in a new tab
  36. maths.html
  37. in the same tab
  38. Maths fun
  39. about.html
  40. in the same tab

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids