← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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