Browser & Web Performance · Junior · Question 11 of 75

What's the difference between the DOMContentLoaded and load events?

Explanation

Code that needs the DOM can start at DOMContentLoaded; load is later and depends on every subresource.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 11

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz