Render Flow - What is an HTML element
Read <html>
→Create HTML node
Read <body>
→Create BODY node as child
Read <p>
→Create P node as child
Add text node inside P
Close P
Close BODY
Close HTML
The browser reads the HTML code from top to bottom, creating nodes for each element and nesting child elements inside their parents to build the DOM tree.