← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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