← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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