Difference Between Web Browser and Web Server
Difference Between Web Browser and Web Server
Server
August 30, 2017 Leave a Comment
The main difference between a Web browser and a Web server is that Web
browser requests for the document and services, and act as an interface
between a client and a server which displays the web content. On the other
hand, Web server accepts, approve, and response to the request made by a web
browser for a web document.
When a user asks a browser to get a web page, the browser parcels up this
instruction with the help of protocol called the Transmission Control Protocol
(or TCP). TCP is a transport (layer) protocol, which provides a reliable
transmission format for the instruction. Its job is to confirm the correct sequence
of the entire message so that it could be bundled up for transmission (and also
that it is correctly unpacked and put back together after it arrives at its
destination).
But, before parcels of data are sent out over the network uniquely, they need to
be addressed. Thus a second protocol called Hypertext Transfer
Protocol( orHTTP) puts a unique address label on it. HTTP is the protocol
employed the World Wide Web in the transfer of information from one computer
to another – when you see URL prefixed with http:// you can immediately know
that the internet protocol being used in HTTP.
The message that goes from the web browser to the web server is known as
HTTP request. When the web server receives this request, it searches its stores
to find the appropriate page. If the web server is able to locate the page, it
parcels up the HTML contained within (using TCP or some other transport layer
protocol), addresses these parcels to the browser (using HTTP), and transmit
them back across the network.
If the web server is unable to find the requested page, it sends a page
containing an error message (i.e., Error 404 – page not found)- and it parcels up
the dispatches that page to the browser. This message received from the web
server by the browser is called the HTTP response.
Comparison Chart
BASIS FOR
WEB BROWSER WEB SERVER
COMPARISON
Send HTTP request and get Get HTTP requests and send
Primary role
HTTP response. HTTP responses.
Browser Architecture :
There are numerous vendors offer several kinds of browsers commercially, the
basic work of which is to display a web document. All the browsers you use
employs almost the same architecture.
Each browser is divided into three parts, i.e., a controller, client program, and
interpreters.
Conclusion:
A web browser is an application software which acts as an interface between
server and client and allows us to view and explore documents on the internet.
While web server is a computer which is used for storing and hosting the web
content. Furthermore, it handles HTTP requests generated by client with the
help of a browser and responds back to the client.
Related Differences:
1. Difference between Static and Dynamic Web Pages
2. Difference between Server-side Scripting and Client-side Scripting
3. Difference between Web page and Website
4. Difference Between HTTP and HTTPS
5. Difference Between Web server and Application server