← How websites work lesson New set →

Web Worksheet: How Websites Work

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

Answer key

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

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