← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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