1. Inline JavaScript block
  2. External JavaScript file
  3. Both Inline JavaScript block & External JavaScript file
  4. None of the mentioned
4 views

1 Answers

Answer: Option 3

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.

4 views

Related Questions