← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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