← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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