← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

  1. False
  2. https
  3. False
  4. a server
  5. where the page is
  6. DNS
  7. the browser asks it
  8. you type the URL
  9. the URL
  10. https
  11. the browser shows it
  12. True
  13. school.example.in
  14. kids.example.org
  15. HTTPS
  16. www.example.net
  17. the browser
  18. /maths/tables.html
  19. /art/gallery.html
  20. http
  21. http
  22. /index.html
  23. https
  24. https
  25. /games/chess.html
  26. https
  27. Yes
  28. the server
  29. False
  30. /news/today.html
  31. False
  32. /index.html
  33. www.example.com
  34. True
  35. https
  36. www.example.com
  37. /games/chess.html
  38. the server sends files
  39. True
  40. DNS finds the server

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