← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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