← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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