← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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