← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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