← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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