← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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