How World Wide Web (WWW) works?


The standard Protocol communicating between web server and web browser is Hypertext Transfer Protocol(HTTP).Every Web access must provide the internet address of the requester's computer,the server would not know where to send the requested page.In order for request from the web browser to be understood by the web server,they must use the same standard protocol.

The Web is client or server application. Client or server means that somewhere there is a computer running web server software and many different users are clients using web browsers,accessing the information from the web server.

When your browser visit the web sites,it sends an URL request for a particular like :http://www.shareknowledge7.blogspot.com  .When URL is sent,the computer in the receiving end automatically knows how to interpret the request.Once the two computers begin this communication , a connection is established. The computer on the internet determines which text and graphics files to send back to you.

 Process  of  retrieving from web page:-
\If a user of web browser hit http://www.shareknowledge7.blogspot.com/str.html  in to address bar  several interaction occurs for the requested Web pages to appear on the user's screen.These are

1.Web browser communicates with DNS server to determine IP address and domain name.
2.Using HTTP protocol web browser sends a request to the  web server at that IP address for the        Web page name str.html
3.The request makes its way from router to router until it arrives at the Web server.
4.The Web server uses HTTP protocol to receive the request and locates the file being requested.
5. The file (str.html) is sent back to the requesting computer again,travelling from router to router      until it arrives back at the web browser.
6. The Web browser interprets the HTML code that is in the file and displays the pate on the               computer screen.
7. If  the page includes a graphic,the HTML code will include the filename of the graphic.That  graphic will be requested in the same way the HTML file was requested. When it arrives at the    browser  ,it will be displayed in the appropriate place on the page, as defined in the HTML code.

If you want to get more information click here and comment below.