When does the browser stop rendering the HTML?

A. Inline JavaScript block

B. External JavaScript file

C. Both Inline JavaScript block & External JavaScript file

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

When the browser parses the HTML markup, it stops rendering the HTML when it encounters an inline JavaScript block or external JavaScript file. At this point, the user experiences rendering delays. Moving the JavaScript to the end of the HTML markup would completely eliminate these pauses in rendering.

Join The Discussion

Related Questions on Invocation and Performance Navigation