← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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