How does a Web Browser Work?

A web browser works by parsing a file that contains HTML which is a markup language that tells it what and how to display the information. HTML is standardized way of presenting data.