How is web page executed by a web browser that has been written in other than HTML?

if its not an HTML, no browser is gonna show it, some may argue that we have coded page in java or .NET or any other language for that matter, but end of the day its HTML for the browser.