How Do Browsers Work

A web browser works by using a protocol called HTTP to request a text document from a web server. The text document contains special instructions (usually written in HTML) that tell the browser how to display the document on the user's screen. The instructions may include references (hyperlinks) to other web pages, information about text formatting and color, and position information for images contained in the document.