← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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