← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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