← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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