← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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