← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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