← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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