I don't think w3schools has any affiliation with the W3C. But I agree with you, their documentation is terrible: bad examples, idiosyncratic code conventions, confusing layout, (no syntax highlighting,) lots of distracting ads, and very little of the "what are the corner cases", "how does this work in every browser", &c. details that are essential in this type of resource.