← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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