Information Technology Topic
The World Wide Web
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- The World Wide Web is a system for exchanging information over the Internet, made of web servers that publish information and web browsers (clients) that access and display it
- A URL (web address) gives the location of a web page and how to fetch it, and it has three parts: the protocol (such as HTTP), the host (domain) name of the web server, and the path and file name
- HTML is the Web's core markup language: a web page is written as elements with start and end tags, a web page is one document, and a website is a set of linked pages
Visual notes
An invented school address split into its protocol, host (domain) name, and path and file name.
Section 1The Internet and the Web are not the same thing
The Internet is the worldwide system of linked networks. The World Wide Web, usually just called the Web, is one system that runs on top of it: a way of exchanging information over the Internet. The Web is made of two kinds of computer working together. Web servers publish information. Web browsers, which are the clients, access that information and display it. Easy to mix up: e-mail, FTP and Telnet also travel over the Internet, but they are not the Web. When someone says 'I'm on the Internet' while reading a school website, they are really using the Web.
Section 2Web server and web browser
A web server is a computer that delivers Web pages and other site content to browsers over the Internet. It holds the pages and files of websites, together with the server software that sends them out. A web browser is client software that you use to view web content. It lets you locate, access and display web pages. You type an address or click a link, and the browser goes to find the page. Here's the trick: the server stores and serves, the browser asks and shows. A school in Portmore has its website on a web server. A student's phone runs the browser that displays it.
Section 3HTTP: how the browser and server talk
HTTP is the agreed way that browsers (the clients) and web servers communicate. It is the agreed set of rules the browser and the web server both follow, so that the browser knows how to ask and the server knows how to answer. In simple terms, the browser sends a request for a page, and the web server sends the page back. For this syllabus you only need to know the name and the job: HTTP is how browsers and web servers communicate. You will often see https at the start of an address. The extra s stands for secure.
Section 4URL: the address of a web page
A URL is a reference to a web resource that gives its location on a network and how to retrieve it. It is also called a web address. A URL has three parts. The protocol says how to fetch the page, for example https. The host name, which people often call the domain name in everyday talk, says which web server to ask. The path and file name say which page on that server you want. Take the invented address https://www.mapleridgehigh.example/notices/exam-dates.html. The protocol is https, the host name is www.mapleridgehigh.example, and the path and file name are /notices/exam-dates.html. Watch out: a URL has no spaces. Change the path and file name and you get a different page on the same website. Change the host name and you are on a different website.
Section 5HTML: the language of web pages
HTML is the core markup language of the Web. An HTML document is a tree of elements and text. Each element is written with a start tag and an end tag. For example, <p>Welcome to Maple Ridge High</p> is one element. The <p> is the start tag, the </p> is the end tag, and the text between them is the content. The browser reads the tags and uses them to decide how to display the page. You do not need to learn HTML tag by tag for this topic. Web developers write HTML, and when you build a page in a web design package it writes the tags for you. XHTML is a stricter form of HTML that follows tighter writing rules.
Section 6Web page and website
A web page is one document on the Web, such as the exam-dates page of a school. A website is a set of linked web pages that belong together under one address, such as all the pages of that school. Here's the trick: a website is to a web page what a book is to a page. The people who build and keep websites are web developers. They write HTML and keep track of website traffic. When a team has finished building a site, it publishes the pages by uploading them to a web server, as the topic on FTP explains.
Section 7What happens when you open a web page
Put the pieces together. You type a URL into a web browser. The browser uses the protocol part of the address, HTTP, to send a request to the web server named in the host part. The web server finds the page given by the path and file name and sends it back. The page arrives as HTML, and the browser reads the tags and displays the page on your screen. If you click a link on that page, the whole cycle starts again with a new address. Watch out: do not say the browser stores the website. The website lives on the web server. The browser only fetches the pages and displays them.
Examples
A bookshop in Kingston has the web address http://www.kingstonbooks.example/new/maths.html. (a) Identify the protocol, the host name, and the path and file name. (b) State what the host name tells the browser. (c) The shop also has a page at http://www.kingstonbooks.example/new/science.html. Is this the same website or a different one? Give a reason.
(a) Protocol: http (everything before ://). Host name: www.kingstonbooks.example (between :// and the next /). Path and file name: /new/maths.html (the rest). (b) The host name tells the browser which web server to contact. The server holds the shop's pages. (c) It is the same website. The protocol and host name are the same, and only the path and file name changed, from maths.html to science.html. Two different pages on the same site share the same host name.
A student in Portmore opens https://www.mapleridgehigh.example/notices/exam-dates.html in a web browser. The school website has 15 linked pages. (a) Split the address into its three parts and state the job of each part. (b) Describe, in order, what happens from the moment she presses Enter until the page is on her screen. Use the words browser, HTTP, web server and HTML. (c) State what one page is called and what the whole collection of 15 pages is called. Which part of the address would she change to open the school's clubs page on the same site?
(a) Protocol: https, the method used to fetch the page. Host name: www.mapleridgehigh.example, which names the web server to ask. Path and file name: /notices/exam-dates.html, which says which page is wanted. (b) 1. The web browser reads the address. 2. It uses the protocol, HTTP, to send a request to the web server named in the host part. 3. The web server finds the page given by the path and file name. 4. The server sends the page back as HTML. 5. The browser reads the tags in the HTML and displays the page. (c) One page is a web page, and the 15 linked pages together are a website. To open the clubs page on the same site she would change only the path and file name, for example to /clubs/chess.html. The protocol and host name stay the same, because it is the same web server.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Information Technology Syllabus (CXC 30/G/SYLL 08, revised 2000, 2008, 2013) · Caribbean Examinations Council (CXC) · Section 4, Specific Objective 3 · Syllabus scope
- Guidelines on Securing Public Web Servers (SP 800-44 Version 2), Executive Summary and section 2 · National Institute of Standards and Technology (NIST) · Page Summary, Executive Summary of NIST SP 800-44 Version 2 (the World Wide Web), checked against (https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-44ver2.pdf) · Facts
- NIST CSRC Glossary entries: Hypertext Transfer Protocol, File Transfer Protocol, web server, web browser, Uniform Resource Locator · National Institute of Standards and Technology (NIST) · Page web_browser, NIST CSRC Glossary entry for web browser, checked against (https://csrc.nist.gov/glossary/term/web_browser) · Facts
- NIST CSRC Glossary entries: Hypertext Transfer Protocol, File Transfer Protocol, web server, web browser, Uniform Resource Locator · National Institute of Standards and Technology (NIST) · Page web_server, NIST CSRC Glossary entry for web server, checked against (https://csrc.nist.gov/glossary/term/web_server) · Facts
- NIST CSRC Glossary entries: Hypertext Transfer Protocol, File Transfer Protocol, web server, web browser, Uniform Resource Locator · National Institute of Standards and Technology (NIST) · Page hypertext_transfer_protocol, NIST CSRC Glossary entry for Hypertext Transfer Protocol, checked against (https://csrc.nist.gov/glossary/term/hypertext_transfer_protocol) · Facts
- NIST CSRC Glossary entries: Hypertext Transfer Protocol, File Transfer Protocol, web server, web browser, Uniform Resource Locator · National Institute of Standards and Technology (NIST) · Page uniform_resource_locator, NIST CSRC Glossary entry for Uniform Resource Locator, checked against (https://csrc.nist.gov/glossary/term/uniform_resource_locator) · Facts
- HTML 5.2 (W3C Recommendation, 14 December 2017), section 1 Introduction · World Wide Web Consortium (W3C) · Chapter 1, Introduction, W3C HTML 5.2 Recommendation, checked against (https://www.w3.org/TR/2017/REC-html52-20171214/introduction.html) · Facts
- OOH: Web Developers and Digital Designers · US Bureau of Labor Statistics (BLS) · Page web-developers, BLS Occupational Outlook Handbook, what web developers do, checked against (https://www.bls.gov/ooh/computer-and-information-technology/web-developers.htm) · Facts