← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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