Render Flow - Head and body sections
Read <html>
→Create HTML root node
Read <head>
→Create HEAD node as child
Read <title>
→Create TITLE node as child
Add text to TITLE
Close TITLE
Close HEAD
Read <body>
→Create BODY node as child
Read <h1>
→Create H1 node as child
Add text to H1
Close H1
Close BODY
Close HTML
The browser reads the HTML file from top to bottom, building a tree structure. It creates the head section first, which holds metadata and resources, then the body section, which holds visible content.