Render Flow - Header, footer, main
Read <header>
→Create HEADER node
Read <main>
→Create MAIN node
Read <footer>
→Create FOOTER node
Build DOM tree with HEADER, MAIN, FOOTER siblings
Apply default browser styles
Layout and paint each semantic section
The browser reads the HTML elements in order, creates nodes for header, main, and footer, builds a DOM tree with these as siblings, applies default styles, then lays out and paints each section visually.