← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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