← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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