← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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