← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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