← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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