← Links with a href lesson New set →

HTML Worksheet: Links a href

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

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