← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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