← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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