← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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