← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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