SlideShare a Scribd company logo
“Network Course”
CBA in King Saud University
WWW & HTTP
Presented by:
• Razan Al Saif
• Halah Alem
• Noura Al Mutlaq
What is URL?
What is
HTTP?
HTTP (Hypertext Transfer Protocol) is the set of rules for
transferring files (text, graphic images, sound, video, and
other multimedia files) on the World Wide Web.
Communication between client computers and web servers
is done by sending HTTP Requests and receiving HTTP
Response.
HTTP is an application layer protocol
Connectionless protocol
stateless
HTTP connections
HTTP session
consist of
three phases:
The client establishes a TCP connection
The client sends its request and then
waits for the answer
The server processes the request and
sends back its answer, containing a status
code and the appropriate data.
The connection is closed.
Methods
HTTP SUPPORTS SEVERAL DIFFERENT REQUEST
COMMANDS, CALLED HTTP METHODS. EVERY
HTTP REQUEST MESSAGE HAS A METHOD.
THE METHOD TELLS THE SERVER WHAT ACTION
TO PERFORM.
HTTP Request / Response
Communication between clients and servers is done by requests and responses:
1. A client ( a browser) sends an HTTP request to the web
2. An web server receives the request
3. The server runs an application to process the request
4. The server returns an HTTP response (output) to the browser
5. The client (the browser) receives the response
The HTTP
Request
Circle
A typical HTTP request/ response circle:
The browser requests an HTML page.
The server returns an HTML file.
The browser requests a style sheet. The
server returns a CSS file.
The browser requests an JPG image.
The server returns a JPG file.
The
message
format
consists of
the
following 3
items:
Start-line
Header Fields
Message Body
START LINES
All HTTP messages begin with a start line. The start line for a request message
says’what to do’. The start line for a response message says what happened.
Headers
HTTP message headers are used to
precisely describe the resource being
fetched or the behaviour of the server or
the client. There are four types of HTTP
message headers:
1. General headers
2. Request
headers
3.
Response
headers
4. Entity
headers
HTTP VS
HTTPS
World Wide Web‘W W W’or ‘W3’or ‘web’
What is World Wide Web ?
o The World Wide Web is a way of exchanging
information between computers on the
Internet.
o The World Wide Web is the network of pages of
images, texts and sounds on the Internet which
can be viewed using browser software .
The World Wide Web
o The World Wide Web, or Web, consists of a worldwide
collection of electronic documents (Web pages)
o A Web site is a collection of related Web pages and
associated items
o A Web server is a computer that delivers requested Web
pages to your computer
o Web 2.0 refers to Web sites that provide a means for
users to interact
History
(www) was Invented between 1989 – 1990,
by Tim Berners Lee at Cern .
Published in 1992 - Means for transferring
text and graphics
Using Text mark up
language (HTML)
•- invented by Bernes-Lee
•- Simple and easy to use
WWW Components
1. Structural Components:
• Clients/browsers
• Servers
• Caches
• Internet
2. Semantic Components:
• Hyper TextTransfer Protocol (HTTP)
• Hyper TextMarkup Language (HTML)
• Extensible Markup Language (XML)
• Uniform Resource Identifiers (URIs)
-The Fundamental Concept of World Wide Web-
Hypertext is text which contains links to
other texts.
Hypermedia is a term used for hypertext
which is not constrained to be text: it can
include graphics, video and sound
1. The Hypertext concept 2. The Hypermedia concept
o Web Browser:
A web browser displays a web document and enables users to access web
documents.
o Web Server:
This is a program that waits patiently for the browser to request a web page. The
servers looks for the requested information, retrieves it and send it to the browser
or sends an error message if the file is not found
o URL (Uniform Resource Locator):
These are the web addresses. The resource locator is an addressing system .
Most popular
browsers
Many people use the terms Internet and World Wide Web,
but in fact they’re are not the same.
• The Internet and the Web are two separate but related things.
• The Internet is a massive network of networks. It connects
millions of computers together globally.
• The Web, is a way of accessing information over the medium of the
Internet.
*So the Web is just a part of the Internet, actually a large Part, but the
two terms are not synonymous and should not be confused.*
Summary
• WWW is a way of exchanging information.
• Tim Berners Lee invents the World Wide Web (www) at
Cern .
• WWW is constructed using HTML.
• Internet and WWW are the two different concept.
Differences between HTTP and WWW:
1. HTTP is the protocol used to transfer data to and from the website.
2. WWW is the identifier that indicates that it is a web site and it uses the HTTP protocol.
3. HTTP://anything.com, WWW.anything.com, HTTP://WWW.anything.com leads to the same
site.
4. Any prefix that is not reserved to a protocol can be used as a sub domain.
Thank You

More Related Content

What's hot

Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp) Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp)
RochakSrivastava3
 
HTTP
HTTPHTTP
TCP/IP
TCP/IPTCP/IP
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
Lana Dujanovic
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
Akshay Dhole
 
Http
HttpHttp
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
Vipin Rai
 
Http
HttpHttp
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
Http protocol
Http protocolHttp protocol
Http protocol
Arpita Naik
 
Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...
smitha273566
 
Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
Anil Pokhrel
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...rahul kundu
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
Ramesh Giri
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
Naiyan Noor
 
Network protocals
Network protocalsNetwork protocals
Network protocals
reddivarihareesh
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
Sahil Agarwal
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
Chuong Mai
 
File Transfer Protocol - FTP
File Transfer Protocol - FTPFile Transfer Protocol - FTP
File Transfer Protocol - FTP
MahfuzRahman94
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
selvakumar_b1985
 

What's hot (20)

Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp) Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp)
 
HTTP
HTTPHTTP
HTTP
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 
Http
HttpHttp
Http
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Http
HttpHttp
Http
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
Http protocol
Http protocolHttp protocol
Http protocol
 
Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...
 
Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Network protocals
Network protocalsNetwork protocals
Network protocals
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
File Transfer Protocol - FTP
File Transfer Protocol - FTPFile Transfer Protocol - FTP
File Transfer Protocol - FTP
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 

Similar to HTTP & WWW

World wide web ppt
World wide web pptWorld wide web ppt
World wide web ppt
Pijush Kanti Das
 
WWW & INTERNET.pptxxxccccccccccccccvvvvvc
WWW & INTERNET.pptxxxccccccccccccccvvvvvcWWW & INTERNET.pptxxxccccccccccccccvvvvvc
WWW & INTERNET.pptxxxccccccccccccccvvvvvc
NioLemuelLazatinConc
 
www module 1.pptx
www module 1.pptxwww module 1.pptx
www module 1.pptx
MattFlordeliza1
 
what is www, website, internet, and URL
what is www, website, internet, and URL what is www, website, internet, and URL
what is www, website, internet, and URL
MuhammadSafiullah23
 
WWW or World Wide Web
WWW or World Wide WebWWW or World Wide Web
WWW or World Wide Web
Saransh Arora
 
Unit 5 -Intro to IT.pptx
Unit 5 -Intro to IT.pptxUnit 5 -Intro to IT.pptx
Unit 5 -Intro to IT.pptx
NishaRohit6
 
world wide web
world wide webworld wide web
world wide web
Tushar Jain
 
World wide web (WWW)
World wide web (WWW)World wide web (WWW)
World wide web (WWW)
Mishuk Hossan
 
The Internet and the World Wide Web [IGCSE] [WWW].pptx
The Internet and the World Wide Web [IGCSE] [WWW].pptxThe Internet and the World Wide Web [IGCSE] [WWW].pptx
The Internet and the World Wide Web [IGCSE] [WWW].pptx
EMMANUELOWOLABI8
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
Abshar Fatima
 
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptxMADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
awadalsabbah
 
web technology
 web technology web technology
web technology
Paneliya Prince
 
WWW (World Wide Web)
WWW (World Wide Web)WWW (World Wide Web)
WWW (World Wide Web)
prathyushaduggireddy
 
Www (world wide web)
Www (world wide web)Www (world wide web)
Www (world wide web)
sndurgabhavani
 
World wide Web
World wide WebWorld wide Web
World wide Web
MDSHABBIR12
 
unit 1(chapter1).pdf
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
ArunArun542872
 
01-Lecture Web System & Technology Introduction.pptx
01-Lecture Web System & Technology  Introduction.pptx01-Lecture Web System & Technology  Introduction.pptx
01-Lecture Web System & Technology Introduction.pptx
ShoaibRajper1
 
Acem www
Acem wwwAcem www
Acem www
Aastha Kohli
 
Module 1 Basic.pptx
Module 1 Basic.pptxModule 1 Basic.pptx
Module 1 Basic.pptx
reddragon32
 

Similar to HTTP & WWW (20)

World wide web ppt
World wide web pptWorld wide web ppt
World wide web ppt
 
WWW & INTERNET.pptxxxccccccccccccccvvvvvc
WWW & INTERNET.pptxxxccccccccccccccvvvvvcWWW & INTERNET.pptxxxccccccccccccccvvvvvc
WWW & INTERNET.pptxxxccccccccccccccvvvvvc
 
www module 1.pptx
www module 1.pptxwww module 1.pptx
www module 1.pptx
 
World wide web
World wide webWorld wide web
World wide web
 
what is www, website, internet, and URL
what is www, website, internet, and URL what is www, website, internet, and URL
what is www, website, internet, and URL
 
WWW or World Wide Web
WWW or World Wide WebWWW or World Wide Web
WWW or World Wide Web
 
Unit 5 -Intro to IT.pptx
Unit 5 -Intro to IT.pptxUnit 5 -Intro to IT.pptx
Unit 5 -Intro to IT.pptx
 
world wide web
world wide webworld wide web
world wide web
 
World wide web (WWW)
World wide web (WWW)World wide web (WWW)
World wide web (WWW)
 
The Internet and the World Wide Web [IGCSE] [WWW].pptx
The Internet and the World Wide Web [IGCSE] [WWW].pptxThe Internet and the World Wide Web [IGCSE] [WWW].pptx
The Internet and the World Wide Web [IGCSE] [WWW].pptx
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptxMADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
 
web technology
 web technology web technology
web technology
 
WWW (World Wide Web)
WWW (World Wide Web)WWW (World Wide Web)
WWW (World Wide Web)
 
Www (world wide web)
Www (world wide web)Www (world wide web)
Www (world wide web)
 
World wide Web
World wide WebWorld wide Web
World wide Web
 
unit 1(chapter1).pdf
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
 
01-Lecture Web System & Technology Introduction.pptx
01-Lecture Web System & Technology  Introduction.pptx01-Lecture Web System & Technology  Introduction.pptx
01-Lecture Web System & Technology Introduction.pptx
 
Acem www
Acem wwwAcem www
Acem www
 
Module 1 Basic.pptx
Module 1 Basic.pptxModule 1 Basic.pptx
Module 1 Basic.pptx
 

Recently uploaded

guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
Himani415946
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
TristanJasperRamos
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
ShahulHameed54211
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 

Recently uploaded (16)

guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 

HTTP & WWW

  • 1. “Network Course” CBA in King Saud University WWW & HTTP Presented by: • Razan Al Saif • Halah Alem • Noura Al Mutlaq
  • 3. What is HTTP? HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web. Communication between client computers and web servers is done by sending HTTP Requests and receiving HTTP Response. HTTP is an application layer protocol Connectionless protocol stateless
  • 5. HTTP session consist of three phases: The client establishes a TCP connection The client sends its request and then waits for the answer The server processes the request and sends back its answer, containing a status code and the appropriate data. The connection is closed.
  • 6. Methods HTTP SUPPORTS SEVERAL DIFFERENT REQUEST COMMANDS, CALLED HTTP METHODS. EVERY HTTP REQUEST MESSAGE HAS A METHOD. THE METHOD TELLS THE SERVER WHAT ACTION TO PERFORM.
  • 7.
  • 8. HTTP Request / Response Communication between clients and servers is done by requests and responses: 1. A client ( a browser) sends an HTTP request to the web 2. An web server receives the request 3. The server runs an application to process the request 4. The server returns an HTTP response (output) to the browser 5. The client (the browser) receives the response
  • 9. The HTTP Request Circle A typical HTTP request/ response circle: The browser requests an HTML page. The server returns an HTML file. The browser requests a style sheet. The server returns a CSS file. The browser requests an JPG image. The server returns a JPG file.
  • 11.
  • 12. START LINES All HTTP messages begin with a start line. The start line for a request message says’what to do’. The start line for a response message says what happened.
  • 13. Headers HTTP message headers are used to precisely describe the resource being fetched or the behaviour of the server or the client. There are four types of HTTP message headers: 1. General headers
  • 18. World Wide Web‘W W W’or ‘W3’or ‘web’
  • 19. What is World Wide Web ? o The World Wide Web is a way of exchanging information between computers on the Internet. o The World Wide Web is the network of pages of images, texts and sounds on the Internet which can be viewed using browser software .
  • 20. The World Wide Web o The World Wide Web, or Web, consists of a worldwide collection of electronic documents (Web pages) o A Web site is a collection of related Web pages and associated items o A Web server is a computer that delivers requested Web pages to your computer o Web 2.0 refers to Web sites that provide a means for users to interact
  • 21. History (www) was Invented between 1989 – 1990, by Tim Berners Lee at Cern . Published in 1992 - Means for transferring text and graphics Using Text mark up language (HTML) •- invented by Bernes-Lee •- Simple and easy to use
  • 22. WWW Components 1. Structural Components: • Clients/browsers • Servers • Caches • Internet 2. Semantic Components: • Hyper TextTransfer Protocol (HTTP) • Hyper TextMarkup Language (HTML) • Extensible Markup Language (XML) • Uniform Resource Identifiers (URIs)
  • 23. -The Fundamental Concept of World Wide Web- Hypertext is text which contains links to other texts. Hypermedia is a term used for hypertext which is not constrained to be text: it can include graphics, video and sound 1. The Hypertext concept 2. The Hypermedia concept
  • 24.
  • 25. o Web Browser: A web browser displays a web document and enables users to access web documents. o Web Server: This is a program that waits patiently for the browser to request a web page. The servers looks for the requested information, retrieves it and send it to the browser or sends an error message if the file is not found o URL (Uniform Resource Locator): These are the web addresses. The resource locator is an addressing system .
  • 26.
  • 28. Many people use the terms Internet and World Wide Web, but in fact they’re are not the same. • The Internet and the Web are two separate but related things. • The Internet is a massive network of networks. It connects millions of computers together globally. • The Web, is a way of accessing information over the medium of the Internet. *So the Web is just a part of the Internet, actually a large Part, but the two terms are not synonymous and should not be confused.*
  • 29. Summary • WWW is a way of exchanging information. • Tim Berners Lee invents the World Wide Web (www) at Cern . • WWW is constructed using HTML. • Internet and WWW are the two different concept.
  • 30. Differences between HTTP and WWW: 1. HTTP is the protocol used to transfer data to and from the website. 2. WWW is the identifier that indicates that it is a web site and it uses the HTTP protocol. 3. HTTP://anything.com, WWW.anything.com, HTTP://WWW.anything.com leads to the same site. 4. Any prefix that is not reserved to a protocol can be used as a sub domain.