← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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