Render Flow - Linking to sections using IDs
[Read <html>] -> [Read <body>] -> [Read <a href="#section1">] -> [Create anchor element with href="#section1"] -> [Read <section id="section1">] -> [Create section element with id="section1"] -> [Add text content] -> [Close section] -> [Close body] -> [Close html]
The browser reads the HTML top to bottom, creating elements. It recognizes the anchor with href pointing to an ID and the section with that ID. When clicked, the browser scrolls to the section with the matching ID.