Reputation: 11
Is Dom loaded before CSS in our webpage ?
Upvotes: 0
Views: 71
Reputation: 15168
Yes. Since the browser uses the DOM to locate elements to be styled, it needs to load the DOM first to do that. This is NOT true of javascript, though (as an aside).
Upvotes: 1