← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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