technology medium Fill in the Blank

The JavaScript event that fires when a web page has fully loaded is ________.

  1. Engineering Task Force / IETF
  2. DOMContentLoaded / load
  3. DID / Decentralized Identifiers
  4. Indigenization / Self-Reliance

Answer: DOMContentLoaded / load

DOMContentLoaded fires when HTML is parsed (without waiting for styles/images); load fires when all resources (images, CSS) are fully loaded. Choosing appropriate event ensures scripts execute at right time. Critical for web performance and user experience optimization questions.

Topic Web Technologies
Exam Relevance SSC JE, Banking IT, Railway