← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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