안녕하세요

프로그램 과정에서 막혔던 문제들에 대한 해결책 정리


페이지 목록

2010년 11월 14일 일요일

HTML vs HTTP

I didn't know the difference between HTML and HTTP.

It's always curious that what is the difference. Thanks for Head First JSP & Servlet.

I fount the difference. I'm so glad to introduce it here.

HTTP is the protocol which is used to communicate between server and client.

It is operated llike client "request" and server "response"

So, when client want to see webpage - client send the request message(HTTP)

and then server response it and if the request is accepted, server send the response message(HTTP).

And then What is the HTML ??

HTML is the language which web browser understand.

So, when client request some webpage. Client send HTTP request message of the webpage.

Then server response the HTTP request message.

In the HTTP response body, HTML is included. So, the client get the HTTP message with HTML body.

The web browser read the HTTP and HTML.

And browser change the HTML message to UI. So, we can see the webpage!!

So the difference is that HTTP is protocol which communicate between server and client.

HTML is the language which web browser can understand and read the language, web browser will translate the HTML message to UI.

Sorry about my bad english. haha :) Maybe you don't understand it because of my bad english.

Please reply this message if you don't understand. :) I'm practicing English and studying IT field. :D

댓글 없음:

댓글 쓰기