← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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