Detailed · Deep study
1The internet and the world wide web
| Internet | World wide web (WWW) |
|---|---|
| the infrastructure: a global network of interconnected networks and devices | the collection of websites and web pages accessed using the internet |
| hardware: cables, routers, servers | content: web pages, written in HTML |
| also used for email, file transfer, online games, video calls | just one service that uses the internet |
2Uniform resource locator (URL)
A text-based address for a web page; it can contain the protocol, the domain name and the web page/file name.
3HTTP and HTTPS
Hypertext transfer protocol (HTTP) is the set of rules for transferring web page data between a web server and a browser. HTTPS is the secure version: the data is encrypted using the SSL/TLS protocol, so if it is intercepted it cannot be understood. A padlock icon in the address bar shows HTTPS is in use; it should always be used for logins and payments.
See Topic 5 · The internet and its usesSSL is described with other security solutions in 5.3.4Web browsers
The main purpose of a web browser is to render hypertext markup language (HTML) and display web pages.
| Function | Purpose |
|---|---|
| storing bookmarks and favourites | quick return to saved pages |
| recording user history | list of pages visited |
| allowing use of multiple tabs | several pages open at once |
| storing cookies | remembers details for websites |
| providing navigation tools | back, forward, refresh, home buttons |
| providing an address bar | type in a URL or search terms |
5Locating, retrieving and displaying a web page
- The user types a URL into the web browser (or clicks a link).
- The browser sends the domain name to a domain name server (DNS).
- The DNS looks up the matching IP address; if it does not have it, it asks other DNS servers. The IP address is returned to the browser.
- The browser sends a request (using HTTP/HTTPS) to the web server at that IP address.
- The web server sends the web page data, as HTML files, back to the browser.
- The browser renders the HTML and displays the web page.
6Cookies
A small text file stored on the user's device by the web browser, containing data from a website.
| Session cookie | Persistent cookie | |
|---|---|---|
| how long | temporary – deleted when the browser is closed | stored on the device until its expiry date or until the user deletes it |
| example use | holding items in an online shopping cart during one visit | saving login details, personal details and user preferences (language, theme) for next time; tracking browsing for targeted adverts |
Cookies are used for: saving personal details; tracking user preferences; holding items in an online shopping cart; storing login details. Some users worry about privacy when cookies track their browsing.
7Exam focus
Key words: internet; world wide web; URL; protocol; domain name; HTTP; HTTPS; web browser; HTML; DNS; IP address; web server; session cookie; persistent cookie.
Quick self-check
Answer in your head first, then reveal.
Internet is the infrastructure/network of networks (1); WWW is the collection of web pages accessed using the internet (1).
Protocol https (1); domain name www.examlit.com (1); file name index.html (1).
Browser sends domain name to DNS (1); DNS finds IP address (1); returned to browser (1); request sent to web server (1); HTML sent back (1); browser renders HTML (1).
Session cookie is deleted when the browser closes; persistent remains stored (1).
