← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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