← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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