← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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