← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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