The OS has nothing to do with rendering a web page inside a browser. A browser is an application/software that runs in your OS and you can have many browsers (Chrome, FF, Edge, etc) or no browser.
The OS knows how to run a browser.
The browser knows how to run HTML/CSS