← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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