← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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