← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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