Advanced
HTML & CSS
Q98 / 100
How does the browser's rendering pipeline order (Parse HTML → Build DOM/CSSOM → Render Tree → Layout → Paint → Composite) explain why CSS placed at the top of <head> is generally recommended?
Correct! Well done.
Incorrect.
The correct answer is B) Because the render tree (combining DOM and CSSOM) is needed before layout and paint can occur, render-blocking CSS must be downloaded and parsed first; placing it early lets this happen sooner, minimizing the time the page stays blank
B
Correct Answer
Because the render tree (combining DOM and CSSOM) is needed before layout and paint can occur, render-blocking CSS must be downloaded and parsed first; placing it early lets this happen sooner, minimizing the time the page stays blank
Explanation
Since CSSOM construction blocks render tree creation (and thus first paint), discovering and downloading CSS as early as possible in the document reduces the time before the browser can render anything.
Progress
98/100