← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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