← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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