← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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