Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both Inline JavaScript block & External JavaScript file
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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
144
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate