← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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