← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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