← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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