Render Flow - ID attribute
Read <div id="header">
→Create DIV node with id="header"
Read <p id="intro">
→Create P node with id="intro"
Read text inside <p>
→Add text node
Close <p>
→Close <div>
The browser reads the HTML elements and creates nodes in the DOM tree. When it sees an id attribute, it stores it as a unique identifier for that element.