Hacker News new | ask | show | jobs
by gostsamo 2124 days ago
MDN vs. a random resource on the net...

Honestly, the article that you link to has a few h1s and only one of them is for the article itself, while the rest seem like ads and not equally important content. I can continue pointing contradictions in what the author says, but the article is rather long.

1 comments

> MDN vs. a random resource on the net...

No, it's an presumed expert deep diving on a subject vs MDN reference material. MDN is extremely inadequate for explaining anything that isn't mere reference, like how things are practically used in the wild or their practical impact.

A good example of this would be https://css-tricks.com/ vs MDN. MDN doesn't even try to be the resource that css-tricks is.

Anyways, why not respond to the author's actual content? What tutsplus.com's CMS is doing to their content is irrelevant.

Honestly, I have limited time and writing extended counterpoints to every argument is rather tiresome.

Regarding the article given, what made impression to me was that it states that if a document have a few important articles, all of them deserve to be h1. Well, put h1 as the topic that binds together those articles like "The blog of an expert" and each article can move to h2. Simple, semantic, and does not need to break convention.

I'm not against a few h1s in a document, but each of them must be important in a different way like name of the website, name of article, important warning in the footer/sidebar/wherever. It is like mail, if each email is marked "important", none of them is or at least you can't make your mind without reading everything and deciding for yourself which makes the "important" label meaningless.

Edit: adding a counterexample.

I've visited news websites which have sidebar with most recent or most read or the like articles. Each item in the list is marked h1 and skipping them wastes time and money.

Same with a few sidebars that are h1 titled though I don't care about their existence and their presence just shadows the h1 of the article that I'm interested in.