← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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