1) If You, try to open any login page in any website.
2) You enter webaddress in address bar in your browser (its your client). Rigth now ur browser is blank.
3) when you press enter , your browser sends request to the server with page name you want to open (here we want login page)
4) So server will find code page (e.g php, asp, aspx, jsp) there server code is writtten , that what is to be send to client. and some html, css, and js code is sent to browser. all this code is formated using server side lanaguages and client side code is generated dynamically for browser.
5) Now browser will receive code from server and render on your display. Now control is with browser and server will wait for ur next request.
6) You will find some checks here on your page. You can see client side code in your browser by rightclick and view source. this all is client side code (html, css)
7) If you submit without entering userid password, you will find one popup or messsage instantly that enter userid password, (using js) this is still done at client side, so browser is basically client. which helps you to communicate with the webserver (yahoo.com, or any other like that )
8) Now when you fill all details and press submit.
9) Again your server is called and ur details are send to server. And client side code contains the address of page …