What does the DOMContentLoaded event indicate?
- A All images and stylesheets have finished loading
- B The HTML has been fully parsed and the DOM is ready
- C The page has been closed
- D A network request has completed
Answer
The HTML has been fully parsed and the DOM is ready
DOMContentLoaded fires before images and subresources finish. The load event waits for everything, which is usually later than necessary.





