← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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