I want to know how to deal with this.
According to w3fools
We feel, though, that W3Schools is harming the community with inaccurate information. Like any other authoritative educational resource, W3Schools should both hold itself to, and be held to, the highest standards.
.
.
.
W3Schools.com is not affiliated with the W3C in any way. Members of the W3C have asked W3Schools to explicitly disavow any connection in the past, and they have refused to do so.
So if this is not a good resource should we still allow it here ?
In terms of providing good answers if one were to recommend w3schools and information given there is inaccurate then the OP (who asked for the advice in the first place) would come back with more questions because he/she learnt the wrong principles for web development. Which is good for us as a Q&A more questions (because we rock at Q&A), but bad because the first time around we should not have even recommended w3schools. (<--misleading line, I just mean that it is always great to help answer questions, I misstepped what I was trying to convey and created confusion with the previous statement).
I am sure in the years to come w3schools will have a change of heart and provide proper content, but for now is there anything that can be done to prevent giving out bad resources like w3schools.
Or would this be seen as bias towards what a person can and cannot learn ?
If it is would it not be for the greater good to help a user not go down the path of bad practice ?