← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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