Http, TCP/IP, and html

Source: Internet
Author: User

Http, TCP/IP, html Definition 1. What is http?
Http is the upper layer protocol of TCP/IP. Tcp is responsible for ensuring that files sent from one network node to another can arrive at the destination as a complete file. Although this file may be broken down into small pieces for transmission during the specific transfer process.
Ip is an underlying protocol that moves/routes data packets (data blocks) to the destination. Http is another network protocol with some specific web features. However, it depends on TCP/IP to completely send requests and responses from one place to another. The http session structure is a simple request/response sequence: the browser sends a request and the server responds. Key elements of the Request stream: www.2cto.com 1. http method-the action to be completed 2. the page to access --- url 3. form parameters-for example, key elements of the method parameter response stream: 1. status Code-indicates whether the request is successful. content type --- html, image, Text 3. content --- specific html, image html: Tell the browser how to present the content to the user
Http response can contain html. Http also adds header information before the content contained in the response.
The http browser uses the header information to help with html processing. You can paste html content into the http response. Author lishl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.