← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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