← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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