← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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