Discussion :: Javascript - CS
- 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
Explanation :
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.
Be The First To Comment