← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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