← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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