← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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