Question: how html is rendered in browser?
Answer: Process HTML markup and build the DOM tree., Process CSS markup and build the CSSOM tree., Combine the DOM and CSSOM into a render tree., Run layout on the render tree to compute geometry of each node., Paint the individual nodes to the screen.