Web browsers communicate with web servers through a standard protocol known as HTTP, an acronym for HyperText Transfer Protocol.
This protocol defines :
how a browser requests a file from a web server
how a browser sends additional data along with the request (e.g. the data formats it can accept),
how the server sends data back to the client
response codes