← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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