Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. When does the browser stop rendering the HTML?

  2. A.

     Inline JavaScript block

    B.

     External JavaScript file

    C.

     Both Inline JavaScript block & External JavaScript file

    D.

     None of the mentioned

    View Answer

    Workspace

    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