← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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