← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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