Render Flow - Inline vs external precedence
Load HTML document
Parse <link> to external CSS
Download external CSS
Parse external CSS rules
Parse inline style attribute
Calculate specificity and precedence
Apply styles to elements
Layout and paint
The browser loads the HTML, fetches external CSS, then parses inline styles. It compares specificity and precedence, applying inline styles last to override external CSS.