← How websites work lesson New set →

Web Worksheet: How Websites Work

HTML and CSS lesson 27: How websites work · Set 811 · 40 questions
TalentJR

Code tip (Ask, send, show): URL = protocol :// domain name / path, e.g. https://www.example.com/about.html. Browser asks → DNS finds the server → server sends the files → browser shows the page. https (with the lock) scrambles the data; http does not.

NameDateTime takenScore ___ / 40
  1. 1.🌍 What does a web address (URL) tell the browser? (a) your password (b) how old you are (c) where the page is (d) the page colour
  2. 2.🌍 What is the path in this URL?
    https://www.example.net/about.html
    (a) /about.html (b) /maths/tables.html (c) https (d) www.example.net
  3. 3.🌍 What is the protocol in this URL?
    http://school.example.in/maths/tables.html
    (a) /maths/tables.html (b) school.example.in (c) http (d) https
  4. 4.🌍 What is the path in this URL?
    https://www.example.com/maths/tables.html
    (a) www.example.com (b) /maths/tables.html (c) /index.html (d) https
  5. 5.🌍 What do we call the computer that stores a website? (a) a printer (b) a mouse (c) a server (d) a keyboard
  6. 6.True or false: the server is the page’s address. (a) True (b) False
  7. 7.🌍 What is the domain name in this URL?
    https://kids.example.org/art/gallery.html
    (a) school.example.in (b) /art/gallery.html (c) kids.example.org (d) https
  8. 8.🌍 What is the path in this URL?
    http://kids.example.org/art/gallery.html
    (a) http (b) /news/today.html (c) /art/gallery.html (d) kids.example.org
  9. 9.🌍 What is the protocol in this URL?
    https://www.example.com/games/chess.html
    (a) www.example.com (b) http (c) /games/chess.html (d) https
  10. 10.🔒 What does the lock (HTTPS) in the address bar mean? (a) the site is a game (b) the data is scrambled (c) the site is free (d) the site is fast
  11. 11.True or false: the server stores the site’s files. (a) False (b) True
  12. 12.True or false: the URL is the page’s address. (a) False (b) True
  13. 13.🌍 What is the protocol in this URL?
    https://kids.example.org/about.html
    (a) /about.html (b) kids.example.org (c) http (d) https
  14. 14.🔢 When you open a web page, which comes first: “the server sends files” or “you type the URL”? (a) the server sends files (b) you type the URL
  15. 15.🌍 What is the protocol in this URL?
    http://www.example.net/maths/tables.html
    (a) www.example.net (b) https (c) /maths/tables.html (d) http
  16. 16.🌍 What is the protocol in this URL?
    https://school.example.in/maths/tables.html
    (a) https (b) /maths/tables.html (c) http (d) school.example.in
  17. 17.🌍 What is the protocol in this URL?
    https://www.example.com/news/today.html
    (a) https (b) www.example.com (c) /news/today.html (d) http
  18. 18.🌍 What is the protocol in this URL?
    http://www.example.com/about.html
    (a) http (b) www.example.com (c) /about.html (d) https
  19. 19.🌍 What is the domain name in this URL?
    http://school.example.in/art/gallery.html
    (a) /art/gallery.html (b) www.example.net (c) school.example.in (d) http
  20. 20.True or false: the server scrambles data on its way. (a) True (b) False
  21. 21.🔒 Is the connection to this address scrambled (encrypted)?
    http://learn.example.com/games/chess.html
    (a) Yes (b) No
  22. 22.🌍 What is the domain name in this URL?
    http://school.example.in/about.html
    (a) www.example.net (b) /about.html (c) http (d) school.example.in
  23. 23.🌍 What is the protocol in this URL?
    http://school.example.in/games/chess.html
    (a) https (b) http (c) /games/chess.html (d) school.example.in
  24. 24.🌍 What is the protocol in this URL?
    https://www.example.com/index.html
    (a) /index.html (b) http (c) www.example.com (d) https
  25. 25.🔢 When you open a web page, which comes FIRST? (a) you type the URL (b) the browser shows it (c) the browser asks it (d) the server sends files
  26. 26.🌍 What is the protocol in this URL?
    https://kids.example.org/games/chess.html
    (a) /games/chess.html (b) http (c) kids.example.org (d) https
  27. 27.🌍 What is the path in this URL?
    https://learn.example.com/maths/tables.html
    (a) /index.html (b) /maths/tables.html (c) learn.example.com (d) https
  28. 28.🔢 When you open a web page, which comes first: “the browser shows it” or “you type the URL”? (a) you type the URL (b) the browser shows it
  29. 29.🔒 Is the connection to this address scrambled (encrypted)?
    https://www.example.net/news/today.html
    (a) Yes (b) No
  30. 30.🌍 What is the path in this URL?
    https://learn.example.com/about.html
    (a) https (b) /maths/tables.html (c) /about.html (d) learn.example.com
  31. 31.🌍 What is the domain name in this URL?
    http://school.example.in/games/chess.html
    (a) www.example.net (b) http (c) /games/chess.html (d) school.example.in
  32. 32.🌍 What is the protocol in this URL?
    https://www.example.com/about.html
    (a) www.example.com (b) /about.html (c) http (d) https
  33. 33.🌍 What finds the server for a domain name like example.com? (a) alt (b) CSS (c) HTML (d) DNS
  34. 34.True or false: the browser stores the site’s files. (a) True (b) False
  35. 35.🌍 What is the path in this URL?
    http://learn.example.com/index.html
    (a) http (b) /index.html (c) learn.example.com (d) /art/gallery.html
  36. 36.🔢 When you open a web page, which comes first: “you type the URL” or “DNS finds the server”? (a) you type the URL (b) DNS finds the server
  37. 37.True or false: the browser sends the page back. (a) False (b) True
  38. 38.🔒 Is the connection to this address scrambled (encrypted)?
    https://school.example.in/news/today.html
    (a) No (b) Yes
  39. 39.🌍 What is the path in this URL?
    http://school.example.in/art/gallery.html
    (a) /news/today.html (b) school.example.in (c) http (d) /art/gallery.html
  40. 40.🌍 What is the domain name in this URL?
    http://kids.example.org/news/today.html
    (a) /news/today.html (b) http (c) kids.example.org (d) school.example.in

Answer key

  1. where the page is
  2. /about.html
  3. http
  4. /maths/tables.html
  5. a server
  6. False
  7. kids.example.org
  8. /art/gallery.html
  9. https
  10. the data is scrambled
  11. True
  12. True
  13. https
  14. you type the URL
  15. http
  16. https
  17. https
  18. http
  19. school.example.in
  20. False
  21. No
  22. school.example.in
  23. http
  24. https
  25. you type the URL
  26. https
  27. /maths/tables.html
  28. you type the URL
  29. Yes
  30. /about.html
  31. school.example.in
  32. https
  33. DNS
  34. False
  35. /index.html
  36. you type the URL
  37. False
  38. Yes
  39. /art/gallery.html
  40. kids.example.org

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