← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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