← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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