← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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