← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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