Hacker News new | past | comments | ask | show | jobs | submit login
W3Fools - A W3Schools Intervention (w3fools.com)
135 points by infdaze on Jan 14, 2011 | hide | past | favorite | 55 comments



W3Schools is great because it covers everything, in an approachable manner. For the one occasion a year I use XPath, W3Schools has a nice refresher and function reference.

Sure, the information may be imprecise or just plain wrong, but we have to remember that this is for absolute beginners. Merely having errors does not make w3schools worthless, and a lack of errors does not make alternatives better.

The material on W3Schools is split into bite-sized chunks, along with numerous examples, references, quizzes, try it yourself areas... None of the alternatives suggested are this well organized.

Just think what kind of HTML tutorial could have been created with the time and effort it took to build w3fools.com.


"Sure, the information may be imprecise or just plain wrong, but we have to remember that this is for absolute beginners. Merely having errors does not make w3schools worthless, and a lack of errors does not make alternatives better."

This is the biggest problem. When you're an absolute beginner, you don't know what's right and what's wrong, and if wrong things are being presented in the middle of right things, it's impossible to discern the difference. Accuracy should be of the utmost concern for people who are providing information to people who are at the beginning of their learning journey.

"Just think what kind of HTML tutorial could have been created with the time and effort it took to build w3fools.com."

Not a very good one. w3fools came together in about a week of on-and-off collaboration after several months of having an etherpad where people were dumping errors they came across. The effort to create a comprehensive HTML tutorial and then position it in a place where it could counter w3schools is many orders of magnitude larger.


How is "numerous examples, references, quizzes, try it yourself areas" even worth anything if said examples, references, quizzes and so forth are... incorrect?

It's like saying, "Well, at least we have textbooks! Too bad half of them say the world is only 6,000 years old, but hey! No body's written a better text book than this yet!"

And how is it decent as a refresher and function reference, if it's just refreshing fallacies? Try using something that's actually accurate. In fact, MDC has a pretty decent xpath section: https://developer.mozilla.org/en/xpath


The organizational differences between the two sites:

1) http://www.w3schools.com/xpath/ 2) https://developer.mozilla.org/en/xpath

pretty clearly show why W3Schools is capturing so much beginner mindshare.

From 1), it's trivially clear where to start: the link is labeled "Start Learning XPath Now!", and even if you skip that, below there's a linear list of topics. When and if I do click on the "start" link (or the first item in the ToC), I'm greeted with what is very clearly the first part of a walkthrough. Going through the sections, it's all pretty clearly marked, chunked up into easily digestible pieces, etc. Perfect for a first glance through the topic, even though I'll definitely admit that in general W3Schools content leaves something to be desired.

Conversely, from 2), the Mozilla.org page, it's pretty difficult to figure out where I want to be clicking, assuming I know nothing. After I discard the "tools" section as probably irrelevant to learning from scratch about this, I'm left with the "Documentation" column. So far, so good.

The first item in that list says "Introduction to using XPath in JavaScript", which still sounds pretty good, except wait! At the top of the page, it says that XPath is primarily used with XSLT, but this tutorial gives an intro to XPath without XSLT, so that can't be right...why would the special case that doesn't match what people usually use this for be the first item in the documentation list?

And yikes, those other links don't really look like introductions to XPath, either, they look like special topics about XPath. The last link (http://www.xml.com/pub/a/2000/08/holman/) is probably the closest to what a beginner might want, but it's a lot of material, not the ~10 minute introduction to the topic that we'd really be looking for.

It's alright, though. If we poke around at the "Using XPath" link (https://developer.mozilla.org/en/Using_XPath), we find that "Mozilla" (yeah, I'm aware that's a wiki, but you know what I mean...) has a suggestion as to where to go to learn more:

This article does not attempt teach XPath itself. If you're unfamiliar with this technology, please refer to W3Schools XPath tutorial.

Sigh.


> Sure, the information may be imprecise or just plain wrong, but we have to remember that this is for absolute beginners. Merely having errors does not make w3schools worthless, and a lack of errors does not make alternatives better.

By letting beginners learn most stuff the wrong way, you're not helping anyone, and you put them behind in knowledge that is actually usable and good practice.

> The material on W3Schools is split into bite-sized chunks, along with numerous examples, references, quizzes, try it yourself areas... None of the alternatives suggested are this well organized.

Well organized misinformation is still a bad resource.


While everyone else was busy bitching about ExpertsExchange, a few people got together, built a much better alternative, and now dominate Google search results.

As far as I can tell, these guys are dismissing that option because it's too much work.


I'm dismissing it because the information is wrong. I also contribute to https://developer.mozilla.org/en-US/ in support of the http://promotejs.com/ initiative.

So as far as I can tell, you're making comments that are wrong because you're not informed.


I think you might have missed my point.

ExpertsExchange was useful because it had a broad range of obscure technical information, and the ability to get specific questions answered, but it was spammy and a pain to use. StackOverflow came along, took the good parts of that model, combined them with a clean interface and an open community, and won.

W3Schools is useful because it's a good barebones reference that assumes zero prior knowledge of the subject, but it's somewhat shady in how it represents itself, and the information isn't always accurate/complete/up to date. X came along...

As far as I can tell, neither of the two sites you linked, or the parent article, are a good reference for absolute beginners, which is the only thing that will either beat W3Schools or force them to improve.


Yeah, I spend my time on an open-source library used by thousands of people and supported said library, helping users with problems and contributing to documentation. So dumb to link to already available, good resources instead of building a better alternative. I wish I wasn't so lazy! </sarcasm>


Out of curiosity, can you link to one of those good resources, and to an equivalent w3schools page?

Setting aside questions of Google rank and discoverability, I suspect the "good resource" will have much more information, will be more correct, but will also be more verbose, may assume more prior knowledge from the reader, and will be less likely to provide instant gratification.

There's a big difference between a good resource for an experienced developer and a good resource for an absolute newbie, and I haven't seen that addressed yet.


First let me say, I am a web developer and use W3Schools as a reference. The web would be a worse place without it. They deserve their high Google ranking.

So to attack something that is on the whole good, which may be 99% accurate but not 100% accurate, seems mean-spirited. Someone put a lot of time into this, and it's a shame they didn't do something productive instead of destructive.


No. W3Schools is nowhere close to being 99% accurate. They refuse to correct blatant, longstanding errors. They refuse to make clear that they are not affiliated with the W3C. They repeatedly encourage very poor practices.

Moreover, the site in question, at its very top, suggests some very clear improvements to W3Schools, the most obvious and effective being to convert it into a wiki that will allow for self-correction and keeping the content up-to-date.

They also detail how there have been numerous attempts at building alternatives, but W3Schools retains too much unwarranted Google juice for those alternatives to be viable.


> it's a shame they didn't do something productive instead of destructive.

The people behind this project are also developers and contributors to projects like jQuery, Dojo, Prototype, Chrome Developer Tools, jQuery UI, svgweb, HTML5 Boilerplate...


I'm sorry to hear that you use W3Schools as a reference. http://gul.ly/qt


Let me get this straight, you take pity on a business because people are outraged that the information they are providing is incorrect and they are deliberately tricking people into believing they are affiliated the W3C standards group? As well, it's not as if several better resources don't already exist. Too bad they don't have the advantage of such a deceptive name.


Is there any human on the planet that thinks W3Schools is affiliated with W3C? If you're smart enough to know what W3C is, then you know W3Schools is different. It's a strawman, knock it down.

W3C did not invent the term world wide web, www, or w3 - there is no deception.


Call me dumb, but I never realised they weren't affiliated.

I originally learned HTML and CSS from the W3 specs, but when I needed a quick reference page W3Schools were usually on the top of the Google search results. I usually spent about ten seconds clicking the link, reading the page, then leaving with the info I needed. Sure, I knew what W3C stood for, vs just plain W3, but I never even thought about the name.

I actually feel pretty bad now: I recommended W3Schools as a beginner PHP tutorial for a non-coding friend, after a StackOverflow thread recommended it. I just used the PHP manual myself, but she was after something friendlier. Don't suppose anyone knows a decent alternative beginners' tutorial which promotes modern PHP practices and will steer her away from shooting herself in the foot?


> W3C did not invent the term world wide web, www, or w3 - there is no deception.

W3C was founded by (and remains directed by) Tim Berners-Lee, who did, in fact, invent both the term "world wide web" and the actual world wide web.


I agree with the sentiment here, but not the way in which this goes about it. W3schools' name is a little scammy, but the info they house is useful.

The issues w3fools cite are pretty esoteric and/or very nit-picky. For instance:

  | www.w3schools.com/tags/tag_q.asp.
  | Browser Support. The <q> tag is supported in all major browsers, 
  | except Internet Explorer.
  This is blatantly false; <q> tags work just fine in IE8.
Uh, yeah, I guess it works just fine in IE8, but it doesn't work in IE6 or IE7, both of which are called 'Internet Explorer'. So saying it doesn't work in IE is technically correct. It just could be more specific.

W3schools obviously fills a niche that the W3C isn't filling. Reading a spec for HTML x.x is useful, but not viable when you're trying to get stuff done. W3Schools has gone through the work of reading the spec and turning it into a good reference. Good for them.


I think the volume of incorrect information is relevant here. Even though you may consider your <q> example to be "nit-picky", the sheer amount of poor examples and incorrect interpretations shouldn't go ignored.

Not to mention attempts have been made to contact those behind W3Schools, and nothing has been done.


"W3schools obviously fills a niche that the W3C isn't filling"

This alone is the biggest problem - that you think they are somehow related. They are not.

"W3Schools has gone through the work of reading the spec and turning it into a good reference"

No. You're wrong. THIS: http://dmitrysoshnikov.com/ecmascript/

...is a good reference based on a spec.


I think your example proves my point perfectly. A blog post on this guy's website might be more technically correct and complete, but it certainly isn't easier to use, or actually reference when you just want to look up how the string.replace() method works, for instance. I think people are underestimating the utility of the easy organization that w3schools provides. They make it accessible, quickly.


Don't bitch, fix it. Build your own w3schools and make a go of it, obviously these are huge oversights that need to be addressed by competent technical professionals that are as dedicated as these guys are.

Really, as long as you define yourself by attacking such a mediocre institution as w3schools you still have a ways to go.

Google didn't get where they are by pointing at altavista and their crappy search results, they got where they are by doing better.

No 'rallying' required, all it takes is spit and determination. Of course that's a lot harder than bitching.



They suggest PromoteJS which links to MDC. Imagine you've never written a line of JavaScript. Which one of these would you rather be linked to?

https://developer.mozilla.org/en/JavaScript/Guide

http://www.w3schools.com/js/default.asp

The massive table of contents with words like "inheritance", "iterators" and "regular expressions" or the page with a hello world program and a button you can click to run it yourself?


I don't see any building, I just see a strange kind of entitlement mixed with a taste of blackmail.

Really, they're just bitching about the google rankings when you really think about it, because 'they know closures' or something to that effect.

w3schools is ranked highly because lots of people linked to it and it seems to have helped them in some way or other. If you feel that that ranking is not correct then maybe start your own search engine as well while you're at it?


Truth through Google ranking?

Yes, you can gain a massive audience by telling lies people want to hear i.e. "I can teach you how to be a competent web developer!" They are still lies and they deserve criticism. There are extreme errors on that site that will break you for years and cause a lot of damage. They have a blatant SQL injection bug in their MySQL lesson, for example.

And "I don't see you doing any better" is schoolyard justice. An entry level site that's accurate and current is a fine idea. Someone should do it. That's irrelevant to this matter.


In grade school I learned that the country I live in can be represented on a flat map. That doesn't mean there aren't any levels of knowledge above grade school.

w3schools does not portend to be the 'be all end all' of knowledge about the web or developing on the web. They're just another resource and they probably serve their intended purpose a very large number of the times.

Example code usually does not come with guarantees of correctness or even applicability to your problem. It just shows you the basics. It's the cut-and-paste mentality that causes such samples to be used in production code and that's a real problem, but that problem does not lie with the source of the information.

A MySQL lesson that shows you the basics is explicitly not going to go in to details like prepared statements, sql injection and prevention and so on.

Just like you don't teach physics to a kid that you're teaching to walk.

If you're using w3schools as a source for cut-and-paste examples or even best practices then you're doing it wrong, think of it as the 'grade school' of web development. Good enough to get your feet wet, not good enough to build an enterprise grade web application.


I feel like the world just told me Santa Claus doesn't exist.


This explains all the advertising on their site that I've been ignoring for the last decade. Mind = blown


I think w3schools would benefit greatly from an open dialog with the community or perhaps an advisory board.

But launching a frontal assault isn't the way to solve the problem.

I note with irony that the w3fools site displays as a blank page in IE-8 ;<(


If you read the content of the site, w3schools was attempted contact multiple times. They also browsed the github repo and started making changes to their site to save face.

You're absolutely right, if they made it something community driven and contributed to, it'd rock! That's why MDC is linked to, it's a wiki!

p.s. ie8 working cool for me :)


"The whole concept of closures doesn't exist at W3Schools. Also, they never go over the difference between a function declaration and a function expression. I know this is for beginners, but they could at least put it in the advanced section, or make it apparent that functions are first-class?"

Damn, that is awful.


I went thru http://w3fools.com/#htmlsucks and errors reported there are very minor (I guess using Facebook API documentation trained me to be more forgiving).

The w3school is a perfect for what it is. Is it reference? No - they don't claim to be. Is it school for beginners? Yes - and the excellent school. The organization is very good, there are examples, etc.

Can somebody make better school which is wiki based? Yes.


"Is it reference? No - they don't claim to be."

They don't? http://gyazo.com/61a797188fa6045b23e6f5cf22006e1c.png


i like how the menu's on the right :) but then again, maybe i'm not seeing the whole picture.


Thanks for the post. I must admit,I thought w3schools was affiliated with the w3c. Good to know its not.


The top placement in Google search results for almost anything W3Schools covers is another sign that Google is broken, in my view.

reference.sitepoint.com is a much better reference for anything they cover -- easier navigation, better presentation, and most importantly, more depth and advice on important topics. In a fair fight, it would far outrank W3Schools.


W3Schools has many omissions and contains much that is apocryphal, or at least wildly inaccurate, but it scores over more pedestrian work in two important respects. First, it is slightly easier to use; and secondly it has the best SEO of any major beginners' web tutorial.


huh I always use w3schools just to quickly see what a language is. I never took it as serious learning, that's for books and other sources.

Attacking this site is like attacking a flyer for being too gimped on information.


So what you're saying is W3Schools should not be called out for posting misinformation?


A the risk of being tarred and feathered for pedantic behavior, the W3Schools doesn't post misinformation. They posted information that was accurate at the time, and then let is sit up there for 5-8 years as the state of the art improved.

[edited for grammar]


I never said anything about the accuracy of w3schools. And as the person below has commented, the issue is more or less about out dated information.


While the author offers alternative places to learn CSS, Javascript, and HTML, PHP and SQL didn't seem to make the cut. If W3Schools is doing a poor job, what are good PHP ans/or SQL resources?


hmm I always use W3Schools but I have never used to learn anything just to refresh my memory on something


Would it be wrong to point out that the missing parts of the source for w3fools.com ? Or observing that placement of things like the google analytics code at the bottom, instead of the head?

Or would that make me pedantic?


Regarding the placement of GA, this is intentional. You don't want to count a visit before the page has actually been displayed to the user.



Actually the modern GA way is using the async javascript the snippit for which goes before the </head> but hey W3Fools wasn't about being accurate... oh wait, it was.

http://code.google.com/intl/en-GB/apis/analytics/docs/tracki...


If you read through the content you'll see it's not an attack. It simply addresses some major flaws in W3Schools as well as some sketchy business practices.


Perhaps the using the term "fools" could be seen as an attack. They do bring up some interesting grievances.


Their points are valid of course...but it seems laughably naive to treat this as some kind of cause that developers should rally around. And their response to "why don't you build a better version' made me laugh - it sort of encapsulates internet culture in general. I'd like to see more links to better sites for rank beginners than this "call to arms" stuff.


I wrote the "why don't you build a better version" text as a response to "Internet Culture," which mandates that if you want to point out that something is bad, you actually have to build a better alternative yourself.

If I ride on a boring, crappy rollercoaster, I don't need to open up my own theme park in order to air my frustrations.

A lot of the people who worked on w3fools spend a lot of time helping actual other human beings who need support in building websites, and encounter the errors from w3schools regularly, and we invest our time in those and other endeavours. W3schools said "we're going to spend OUR time on building an entry-level reference that everyone can use," and we want

a) the community to be well-aware of its caveats b) it to improve


The best links to web documentation for all (rank beginners to experts) are included on the w3fools page.


or a good rhyme...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: