News for hackers. Stuff that matters.
Re:Mozilla and Open Web Docs Working Together on MDN by cies on Friday March 18, 2022 @06:13AM (#30720342)
Death to w3schools! When search engines allowed blacklisting domain, w3schools was my first and only pick. It always seems to show up on top for many web tech questions, but the quality is rubbish.

MDN is a breath of fresh air in this regard. I expect it will knock w3schools of it's search result throne in the coming years. The end of a era of low quality, ad sponsored (4 ads, just counted) web technology reference.

Re:Mozilla and Open Web Docs Working Together on MDN by cies on Friday March 18, 2022 @06:19AM (#30720383)
Because of this rant I had a look at the company behind w3shools. This is their about page:

https://w3schools.sinsixx.com/about/about_refsnes.asp.htm

If you want to communicate "stuck in the 90s", take this as your example! The photo of the "Web Masters", the favicon, the W3C-badges, the gif-badge webhosting ad, fixed-width, the CMS400 ad, the bordered boxes around everything. I had a blast.

Re:Mozilla and Open Web Docs Working Together on MDN by NavinF on Friday March 18, 2022 @06:45AM (#30720531)
Personally I found that page and photo to be adorable and it improved my overall impression of w3shools from “an acceptable target of ridicule” to “aww, they’re trying their best even if they’re a bit clueless”.

If HN allowed embedded media, you can bet there would be a headpat animation in this comment.

Re:Mozilla and Open Web Docs Working Together on MDN by black_puppydog on Friday March 18, 2022 @07:23AM (#30720780)
> improved my overall impression of w3shools from “an acceptable target of ridicule” to “aww, they’re trying their best even if they’re a bit clueless”

Funny how that works, huh? Here's a pertinent rule that some^Wall here may^Wshould have seen before:

> Remember the human

https://www.britannica.com/topic/netiquette

Re:Mozilla and Open Web Docs Working Together on MDN by NavinF on Friday March 18, 2022 @08:56AM (#30721574)
Facts. This isn’t the first time I learned my hatred was irrational.
Re:Mozilla and Open Web Docs Working Together on MDN by Liquid_Fire on Friday March 18, 2022 @06:27AM (#30720429)
To be fair, that seems to be a copy of the page from more than 10 years ago (note the "Copyright 1999-2009" in the footer). The current website still seems to be run by the same company but looks much more modern.
Re:Mozilla and Open Web Docs Working Together on MDN by cies on Friday March 18, 2022 @07:59AM (#30721057)
You are probably right. I just Google'd for "Refnes Data" (the name I found on the w3schools page) and this was the first hit.

I checked again but did not find a more modern site anywhere. Did you?

Re:Mozilla and Open Web Docs Working Together on MDN by jasonlotito on Friday March 18, 2022 @11:10AM (#30723297)
Re:Mozilla and Open Web Docs Working Together on MDN by cies on Monday March 21, 2022 @05:38AM (#30752063)
That's about w3schools (a product) not the company behind it.
Re:Mozilla and Open Web Docs Working Together on MDN by ivanche on Friday March 18, 2022 @08:43AM (#30721434)
Not to defend w3schools but it seems you linked to some very old version of their site. This is the current About page: https://www.w3schools.com/about/default.asp
Re:Mozilla and Open Web Docs Working Together on MDN by archerx on Friday March 18, 2022 @08:01AM (#30721076)
"I don't like something so no one should use it!"

What kind of logic is that? I actually prefer going to w3schools because as a quick reference I find what I'm looking for much faster than MDN. It has interactive examples right at the top so you can get a quick idea on what a function does. I am happy that both exist.

Either you are completely out of touch or you're going to need to show some of the "low quality" examples from w3schools.

Re:Mozilla and Open Web Docs Working Together on MDN by chrisweekly on Friday March 18, 2022 @09:34AM (#30722020)
As someone who's done webdev for a living since 1998, I share the OP's distaste for w3schools -- they truly earned their notoriety as a low-quality, spammy, SEO-hacking parasite. It was so bad it inspired a large group of some of the biggest names in the field to push back with a site called "w3fools" that tried to set the record straight and steer the hapless masses away from w3schools. See eg https://web.archive.org/web/20110412103745/http://w3fools.co...

Unfortunately, it seems w3schools has since managed to acquire the w3fools domain, and (facepalm, what the actual f**) have appropriated the original content to make it appear as if those famous anti-w3schools signatories have all changed their minds and now endorse w3schools (!) -- which might actually be libel? and is just another scandalous example of the shadiness at play.

A leopard doesn't change its spots. w3schools sucks. Steer clear!

Re:Mozilla and Open Web Docs Working Together on MDN by robin_reala on Friday March 18, 2022 @09:51AM (#30722218)
Worth pinging a few of the original signatories on Twitter to get their take?
Re:Mozilla and Open Web Docs Working Together on MDN by albedoa on Friday March 18, 2022 @11:27AM (#30723490)
> Unfortunately, it seems w3schools has since managed to acquire the w3fools domain

"Seems"? Do you know that it is true, or are you guessing?

Re:Mozilla and Open Web Docs Working Together on MDN by colejohnson66 on Friday March 18, 2022 @01:48PM (#30725272)
Probably guessing. The site is still alive, but has been changed to say that W3Schools has cleanup up their act. https://www.w3fools.com/
Re:Mozilla and Open Web Docs Working Together on MDN by cies on Friday March 18, 2022 @08:12AM (#30721171)
You do you. I find MDN so much better that I hope they soon push w3schools off their first-hit-throne.

> Either you are completely out of touch or you're going to need to show some of the "low quality" examples from w3schools.

Do you really need me for that? Here are "div" and "table" on both.

https://www.w3schools.com/tags/tag_div.asp

https://www.w3schools.com/tags/tag_table.asp

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ta...

To me the difference is enormous (quality of writing, completeness, correct use of words, ads, noise on the page).

But again: see for yourself. Now read back yous comment and see if your "What kind of logic is that?" and "I don't like something so no one should use it!" were reasonable sentences to throw at me.

Re:Mozilla and Open Web Docs Working Together on MDN by archerx on Friday March 18, 2022 @09:38AM (#30722058)
I still prefer the w3schools version, I feel like it is better because it is concise and get straight to the point without a ton of blah blah, if I want an encyclopedic type of reference (which is rare) I go to mdn, but most of the times I just need quick reference that gets to the point immediately. Also I forget the internet has ads, don't you have ublock origin installed?

Yes, they were totally reasonable sentences to throw at you because you want something to fail because of your subjective opinion disregarding if anyone else might find that something useful, it seems a bit solipsistic.

I'm not saying mdn should be blocked, I'm saying I'm happy both exists, do you see the difference?

Re:Mozilla and Open Web Docs Working Together on MDN by marcosdumay on Friday March 18, 2022 @03:54PM (#30726747)
If you don't want an encyclopedic reference, you can read the first section on MDN and move on. It's about as long and to the point as the w3schools article, and has all the rest of the content if you want to dig further.

I don't think it should be blocked, but its content is almost always low quality, so it doesn't deserve the search rating it has. Its prominence is a strong symptom that search engines do not work very well.

Re:Mozilla and Open Web Docs Working Together on MDN by jka on Friday March 18, 2022 @09:20AM (#30721852)
Both seem fairly high quality to me, after reading the comments and viewing the pages from each site in comparison.

I remember using w3schools to learn HTML probably about twenty years ago now, and the content hasn't changed much since then. MDN appears to have gone through two major transitions within the past year.

Whether those qualities are good or bad depend on your perspective; whether one of them ranks above the other in terms of SEO depends on the algorithms used by the search engine in question.

Re:Mozilla and Open Web Docs Working Together on MDN by franga2000 on Friday March 18, 2022 @08:13AM (#30721177)
1. where did you see that logic? I can't see it in the comment

2. w3schools has surface-level tutorials that teach you the most basic use case of each feature. It's decent for teaching, hence the name. MDN on the other hand is a complete reference - it shows every possible way to use a certain feature in a standardised format. Not as beginner-friendly, but it's what professional web developers need. They are very different sites.

Re:Mozilla and Open Web Docs Working Together on MDN by Yaina on Friday March 18, 2022 @08:24AM (#30721271)
MDN also has a bunch of tutorials[1], even for for various frameworks.

I think the major difference is that W3Schools neglects to explain important concepts like what semantic html is and just says: "div is a cool box".

[1] https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduc...

Re:Mozilla and Open Web Docs Working Together on MDN by rainonmoon on Friday March 18, 2022 @05:51PM (#30728008)
W3Schools' detractors do their credibility no favours with these spurious examples when claiming low quality. Nowhere do they say anything as reductive as "div is a cool box". Here's what they say about divs:

> The <div> tag defines a division or a section in an HTML document.

> The <div> tag is used as a container for HTML elements - which is then styled with CSS or manipulated with JavaScript.

> The <div> tag is easily styled by using the class or id attribute.

That's a succinct, factual description of its definition and basic functions. What's wrong with that?

Re:Mozilla and Open Web Docs Working Together on MDN by Yaina on Friday March 18, 2022 @10:13PM (#30730258)
When comparing the articles for <div> on MDN and W3Schools they look rather similar. Both show that a div can get styled by using class or id. But MDN is a lot more careful in their wording and gives important context.

W3Schools writes: > The <div> tag defines a division or a section in an HTML document. From a semantic perspective this is not true or it's at least misleading. <div> does not define a section or division, that's what <section> or <article> is for.

The MDN article in contrast calls a div a "generic container" and has a disclaimer that says. > The <div> element should be used only when no other semantic element (such as <article> or <nav>) is appropriate.

And while W3Schools does not say "div is a cool box", they instead write "Any sort of content can be put inside the <div> tag!", which...yeah.

Re:Mozilla and Open Web Docs Working Together on MDN by rainonmoon on Friday March 18, 2022 @11:49PM (#30730805)
That final line comes after the aforementioned explanation, not in place of it as OP suggests.

The point, as many others have offered in this thread but those set on hating W3Schools at all costs are determined to ignore, is that they provide a succinct explanation of web technologies for the relative layman. Its existence doesn't detract from MDN or any other resource, meanwhile it provides a demonstrable service. That seems like an odd crime to warrant strawmen attacks.

Re:Mozilla and Open Web Docs Working Together on MDN by archerx on Friday March 18, 2022 @09:41AM (#30722092)
I see it as the opposite, if I'm going to learn a new feature, mdn would be the place to go to get a deep dive of what it does but once you understand it, w3schools is the place to go for a quick syntax and argument reference.
Re:Mozilla and Open Web Docs Working Together on MDN by onion2k on Friday March 18, 2022 @06:38AM (#30720494)
I expect it will knock w3schools of it's search result throne in the coming years.

There's no practical incentive for Google to prioritize MDN over w3schools though. Google doesn't seem to rank sites on quality any more. I suspect they rank sites on "ad profitability" instead. Showing users websites that have adverts means users click on more adverts, which Google benefits from (by encouraging that user behavior even if they're not the ad publisher themselves).

w3schools has been online since 1998. MDN has been online since 2005. Why would Google change the search results in the coming years rather than at any time in the previous 17 years if they were aiming for quality?

Re:Mozilla and Open Web Docs Working Together on MDN by cies on Friday March 18, 2022 @08:02AM (#30721083)
I did not ask Google to change it, I just hope they will soon loose to MDN (which is currently the second).
Re:Mozilla and Open Web Docs Working Together on MDN by Jarwain on Friday March 18, 2022 @12:08PM (#30723991)
Recently MDN feels like it has been surpassing w3schools on more of my searches
Re:Mozilla and Open Web Docs Working Together on MDN by Angostura on Friday March 18, 2022 @07:25AM (#30720796)
I was under the impression that the W3Schools content had actually improved quite a bit over the last couple of years. No?
Re:Mozilla and Open Web Docs Working Together on MDN by archerx on Friday March 18, 2022 @08:04AM (#30721102)
It has and he is talking from a place of total ignorance.
Re:Mozilla and Open Web Docs Working Together on MDN by o_m on Friday March 18, 2022 @08:00AM (#30721061)
You can blacklist w3schools by using ublacklist: https://github.com/iorate/ublacklist

There are also lists for blacklisting github and stackoverflow content clone sites.

Re:Mozilla and Open Web Docs Working Together on MDN by drdec on Friday March 18, 2022 @01:12PM (#30724814)
I always just add mdn to the search criteria if it's a search related to web technologies.
Re:Mozilla and Open Web Docs Working Together on MDN by syshum on Friday March 18, 2022 @07:08AM (#30720675)
The concern is will MDN still be good in a few years now that Mozilla fired all of the professional technical writers that made MDN good and instead is going for the Wikipedia approach.

I have my doubts the quality will remain

Re:Mozilla and Open Web Docs Working Together on MDN by jefftk on Friday March 18, 2022 @08:48AM (#30721490)
This article is about how they are not going for the Wikipedia approach. Instead of articles primarily being written by volunteers, they will mostly be written by paid techwriters at Open Web Docs.
Re:Mozilla and Open Web Docs Working Together on MDN by jasonlotito on Friday March 18, 2022 @11:23AM (#30723444)
People don't read articles silly. They are going to complain that if they could contribute money to this, they would contribute so much extra money, but they can't because Mozilla takes it.

Despite the article literally covering this very issue. Just read the comments here.

And I'm willing to be they find a way to blame Mozilla for that ignorance.

Re:Mozilla and Open Web Docs Working Together on MDN by luke2m on Friday March 18, 2022 @06:35AM (#30720471)
Every page is an .asp file.
Re:Mozilla and Open Web Docs Working Together on MDN by asiachick on Friday March 18, 2022 @12:02PM (#30723918)
I'm often disappointed witu mdn as well. Lots of old examples using dated JavaScript passing on bad practices
Re:Mozilla and Open Web Docs Working Together on MDN by wbamberg on Friday March 18, 2022 @10:34PM (#30730374)
I agree. We are always trying to improve this but it's a huge task as MDN is such a big site. If you could please file issues (or PRs :) when you find bad practice examples, it would help.