← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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