← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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