← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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