The web uses special rules to work. 
The web uses special rules to work. 

The web uses special rules to work. These rules are called HTTP. 

A transaction is a set of steps to share data. First, the client sends a request. This is like asking a question. Then, the server sends a response. This is like giving an answer. The response might include a website page. You can find these pages using a URL. A URL is a web address.
HTTP has changed over time to get faster. Old versions made a new connection for every single request. New versions can reuse one connection for many things. This saves time and power. Some versions use a tool called a cache. A cache stores parts of a page. This helps the web load much faster. Most websites now use secure versions of these rules. This keeps your data safe while it moves.
HTTP is the foundation for how we use the World Wide Web. It is a set of rules called a protocol that lets computers share information. 

The way HTTP works is like a simple conversation. It uses a model called client and server. The client is the device asking for something, like your computer. The server is a computer that holds the website data. First, the client sends a request to the server. This is like asking a question to get a specific file. Then, the server sends back a response. This response tells the client if the request worked. It also sends the actual data, like an HTML document. 
This technology has changed many times since it began. The first version, HTTP/0.9, was introduced in 1991. Later, HTTP/1.0 arrived in 1996, and HTTP/1.1 came in 1997. Each new version tried to make the web faster. HTTP/1.1 was special because it allowed connections to stay open. This is called a persistent connection. It meant a client could ask for many things without starting over. This helped reduce the time you spent waiting for pages to load.
Newer versions like HTTP/2 and HTTP/3 have made the web even faster. HTTP/2 uses a method called multiplexing to send many requests at once. It also uses a compressed way to send information called headers. Today, HTTP/2 is used by about 71% of websites. HTTP/3 is the newest major version and uses a tool called QUIC. It was first added to Chrome and Firefox in 2019. In some cases, HTTP/3 can be three times faster than HTTP/1.1. 
You can think of HTTP like a delivery service for data. Sometimes, a web cache server acts like a local warehouse. Instead of going to the main factory, the cache gives you items quickly. This makes the response time much better for everyone. Some parts of the message are managed only between the client and server. Other parts are handled by middle parts of the network called proxies. These tools help the data travel smoothly across the internet to reach you.
The Hypertext Transfer Protocol, or HTTP, is the fundamental application layer protocol for the World Wide Web. It enables distributed and collaborative hypermedia information systems to function across the internet. 
HTTP operates using a client-server model based on a request-response mechanism. A transaction begins when a client submits a request to a server. A web browser is a common example of a user agent, which is software that accesses web content. Other user agents include mobile apps, voice browsers, and web crawlers used by search providers. The server attempts to satisfy the request and returns a response. This response describes the status of the request and may contain a requested resource, such as an HTML document. 
To manage these communications, HTTP uses specific identifiers and organizational tools. A web resource is located using a Uniform Resource Locator, or URL. These URLs use Uniform Resource Identifier (URI) schemes known as http or https. The protocol is designed to allow intermediate network elements to improve communications. For example, web cache servers can deliver content on behalf of upstream servers to improve response times. HTTP proxy servers can also help clients without globally routable addresses by relaying messages to external servers. Some HTTP headers are managed end-to-end between the client and server, while others are hop-by-hop for intermediate nodes.
The protocol has evolved through several distinct versions since its inception. HTTP/0.9 was introduced in 1991. HTTP/1.0 arrived in 1996, followed by HTTP/1.1 in 1997. In HTTP/1.0, a separate Transmission Control Protocol (TCP) connection was required for every single resource request. HTTP/1.1 improved this by introducing persistent connections. This allowed a single TCP connection to be reused for multiple requests, such as images or stylesheets. This change reduced latency by avoiding the overhead of constantly establishing new connections.
Modern versions like HTTP/2 and HTTP/3 offer even greater efficiencies. HTTP/2, which is supported by 71% of websites, uses a compressed binary representation for metadata called headers. It also uses multiplexing to allow many concurrent requests through one TCP/IP connection. This helps solve the problem of head-of-line blocking. HTTP/3 is the newest major version and uses the QUIC transport protocol over UDP instead of TCP. First added to Chrome and Firefox in 2019, HTTP/3 can be over three times faster than HTTP/1.1 in some cases. Currently, HTTP/3 is used on 36.9% of websites.
Technical details regarding transport and data exchange are vital to how these versions differ. HTTP/1.1 and earlier versions typically rely on TCP to ensure a reliable transport layer. However, HTTP/3 uses QUIC to provide reliability on top of the User Datagram Protocol (UDP). Because HTTP is a stateless protocol, the server does not need to retain information about a user between different requests. If a web application needs to remember a user, it must use other mechanisms like HTTP cookies or hidden form variables. This allows the protocol to remain lightweight and efficient for millions of users.
Security and authentication are also integrated into the protocol framework. The secure version of HTTP is known as HTTPS, and it is used by more than 85% of websites. HTTP provides various authentication schemes, such as basic and digest access authentication. These use a challenge-response mechanism where the server issues a challenge before providing content. This framework allows for extensible access control managed by the client and server software. By combining these complex layers of transport, security, and request management, HTTP keeps the global web running smoothly.
🖼️ Images & Media (2)
More to explore
✨ What else?
Related topics you might enjoy
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.