HTTP and HTML
The Hypertext Transfer Protocol (HTTP) is one of the most widely used Internet Protocols. Anyone who has ever used a web browser has used HTTP. HTTP is a protocol for moving data across a network. Most often, the data is formatted as Hypertext Markup Language (HTML). Thus, HTTP defines how to obtain the data, and HTML defines how the data is arranged.
An HTTP server program is run on a computer set up to accept
connections from client computers. The client computer connects to
the HTTP server, issues a request for some content (typically a
filename), and tells the server the type of data it wishes to
receive. The HTTP server locates the content, and sends the data back
to the client computer. The data consists of a number of headers
(lines that describe the data) and the data itself. A full
description of the HTTP protocol can be found on the Web at
http://www.w3.org/hypertext/WWW/Protocols/.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access