← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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