Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Telling them HTML5 does exist does even more harm cause it doesn't exist. Telling them it does exist is entirely wrong and is even a false statement, is misleading and causes confusion.




Ok, I'll bite.

Assuming you are right and HTML5 doesn't exist. What would be the actual bad outcomes of the following?

- believing HTML5 exists

- silently choosing to understand what someone mentioning HTML5 obviously meant


I am right and I gave you the proof. Understanding what one means when mentioning HTML5 has nothing to do with technically understanding that there is no HTML5 standard.

Let's just say that I don't think the truths you are pushing are as absolute as you seem to think, and I think they are a reflect of how you view the world more than anything.

And that by correcting people that mention HTML5, you will probably just annoy people without achieving anything worth it. That would be true even if you are absolutely correct.

It's peak "well, actually", with the twist it might not even actually be.

That's not the truth, just my opinion, and I appreciate that you might not agree.

Note that OP didn't mention "The HTML5 Standard", they mentioned "HTML5".


I would rather be correct and annoy people than be wrong. It's fascinating to me today to see so many people allow "good enough" over correctness. It's a disaster waiting to happen.

For example, people get annoyed when I tell them not to put closing slashes on void HTML elements. They reply that it doesn't matter because it's in the standard that it's allowed so it's perfect HTML. What they don't bother to understand, despite my pointing to online documentation, is that placing closing slashes on some elements can cause harm and that no HTML standard tells you to put one there or has ever required it. Yet they argue with me anyway. Much like you argue with me about this. And that's when I stop.


At this point, closing slashes for void elements is coding style, exactly like white space we use for indentation. You can't be right because this is in opinion territory. Exactly like whether one should put semicolons or not in JavaScript when you have automatic semicolon insertion. Some people have strong opinions on the matter. Putting them has drawbacks, and not putting them too, and in both cases, readability and clarity, which is subjective, is a factor.

You are right that it has drawbacks and that it can bite. OTOH, people using closing slashes usually also quote all their attributes and will virtually never be bitten by this.

But people have backgrounds and habits, there's culture around a language like HTML, and these backgrounds are cultures have been shaped by XHTML.

Whether to put or not to put the slash is a healthy conversation to have and there are valid points for both, but if you are arguing like you are doing here for HTML5, considering "they don't bother to understand", you'll lose your arguments and people will find you annoying.

Some people feel bad about not closing br with a slash because it kinda feels like unmatched parentheses, or old malformed HTML from the 90's. That's not reasonable, but for the better or the worse, you can't just ignore this.

Some people sometimes write XML, and when they switch to HTML, their XML habits are there, and following habits especially when they are mostly harmless is efficient.

Some people write polyglot (X)HTML for some reason, and there the slash is needed.

There are reasons to put the slash, like there are reasons not to write it, and you can't just impose your truths like this.


Can you share some of the links you'd share?

I'm someone who still lives in the XHTML world and pedantically close all of my elements. Seems like I need a knowledge refresher.

(and by the way, I could Google this, or any other chatbots, but I want to hear from your experience).


Reasons for not putting the slash in HTML:

- since the slash doesn't have any meaning in HTML, if you don't quote your attributes, you are at risk that your slash is attached to the value or your unquoted attribute: <br class=myclass/> ← uh oh, class = "myclass/"!

You can test this by visiting the following URL, and inspecting the content: data:text/html,<br class=myclass/>

Now guess what happens to the unquoted src attribute of the img tag followed by an unspaced stray slash… OTOH, you don't need to not quote the src attribute…

- it can give a false sense of correctness, one can reasonably consider that the closing effect of the slash is pure illusion and even potentially confusing.

For backward compatibility, a stray slash at the end of the start tag is ignored, not considered as an attribute that doesn't have a value, so there's argument to be made that it's still part of the syntax. You'll never have any issue if you always put a space before the slash (which most people who put the slashes do because of a silly bug in a browser that has not been relevant for a long time), or if you quote all your attributes.

I don't understand why they haven't decided to make the HTML5 parser parse <br class=myclass/> like <br class=myclass> but I guess it is what it is.



Your argument is bad, and you should feel, if not bad, then at least very silly. There is an HTML5 standard.

It was developed by browser makers with input from the community, published by WHATWG, and begrudgingly accepted by W3C in 2014. That's a fact. The HTML5 Recommendation exists.

That those people went on to continue to develop the standards further, as standards bodies are wont to do, and that they call their current work the "Living Standard" doesn't erase that fact, any more than the W3C's publication of the third edition of the PNG standard last summer means that earlier editions "don't exist".


Please point to any current edition of the HTML standard that is titled HTML5 published by WHATWG or the W3C. You can't. It's impossible. You can only point to past, out-of-date, no longer maintained publications. We're talking current standards. Not old ones.

This is either the dumbest thing I've heard all day, or the most dishonest thing. It's not even a good attempt at sleight of hand.

> Please point to any current edition of the HTML standard that is titled HTML5 published by WHATWG or the W3C. You can't. It's impossible.

No shit.

It's impossible because the current edition is very obviously not HTML5. Nor is it HTML 4.01. Or 2.0. It's the WHATWG's "Living Standard" that you very well know exists and have referenced by name in this thread.

If you want to make an argument for the non-existence of HTML6, then fine; you're making a sound, totally defensible argument that no such thing exists. (A strawman, because nobody here—besides you—actually mentioned HTML6, but a verifiably true fact nonetheless.)

But it makes for totally asinine argument for the claim that "There is no HTML5" and that it "doesn't exist". You'll take the W3C's stamp of approval? Great, it's right there—available for review now just as it was an hour ago, or at any other time after October 2014. This is an incontrovertible fact. Feel free to actually engage with this or any of the other facts you have been confronted with, rather than setting unsatisfiable goals like asking for the "current edition" that is "titled HTML5".


>>It's impossible because the current edition is very obviously not HTML5.

I find it interesting to read that you are agreeing with my entire point while insulting me and arguing that I am wrong.


<https://en.wikipedia.org/wiki/Moving_the_goalposts>

----

> There is no HTML5. It's just a buzzword.

> [HTML5]'s not a technical term.

> Telling them HTML5 does exist does even more harm cause it doesn't exist. Telling them it does exist is entirely wrong and is even a false statement

> there is no HTML5 standard

Source: Literally all you, here, in this thread.

If you want to switch gears now and try rewrite the record and say that, actually, what you're really saying and have said all along is that HTML5 is no longer the latest Recommendation, go jump off a bridge.


You took things out of context. You aren't following along to what I replied to. The person I replied to said, "...so these days it's actually HTML5." And, in response to "these days", I said there is no HTML5. Which is true and you agree with.

So did the other guy. Thanks to you all for your support for web standards.


Basic truth: if you can't manage to accurately summarize your counterparty's position in a statement that ends with "you agree with <x>" and have that person agree that that's their position rather than feeling compelled to call you out as an intellectually dishonest sack of shit, then they don't actually agree with you, it's more than likely to be an accurate charge against you, and you should knock it off immediately.

> I said there is no HTML5. Which is true and you agree with.

No, I don't.


Well, I can judge the quality of person you are by your comments and see you aren't worth talking to so I'll leave you in your misery.

Don't move the goalposts and take this as an opportunity to learn from the feedback you are receiving from several people here. Perhaps learn to be more accurate in what you say and if you fail to be accurate (which happens to everyone, we are all humans), admit it gracefully, and move on.

Your original claim was:

> There is no HTML5.

Clearly false because it exists: https://html.spec.whatwg.org/multipage/introduction.html#is-...

Then you move the goalpost.

> Please point to any current edition of the HTML standard that is titled HTML5 published by WHATWG or the W3C.

But who said anything about "current edition"? Only you did. The fact that the current edition is not HTML 5 does not mean that the HTML 5 standard has stopped existing!


The poster I replied to did. You're like the other guy who jumped into a thread without following the context. Technical people know better than to do that. But I'm not here to teach people how to follow a thread. Please don't reply. I'm done here

> You're like the other guy who jumped into a thread without following the context. Technical people know better than to do that. But I'm not here to teach people how to follow a thread.

Can you stop being so antagonistic already? I have been following this whole thread since afternoon. We both began commenting on this post at about the same time. I regret to say that I have wasted my whole afternoon and evening on this thread. So regrettably I have been following the context very closely actually.

Most of your subsequent comments make sense but they also keep moving the goalpost which is frustrating. I mean it is easy to be correct if you constantly keep moving the goalpost. But we must go back to where this nuisance began. It began at https://news.ycombinator.com/item?id=46743683 when you said:

> There is no HTML5.

Do you admit that your orginal claim "There is no HTML5." was incorrect? If you don't admit that do you also think HTML 4.01 standard has stopped existing? What about C89? Has that also stopped existing? Just because there are newer standards and living standards, it doesn't mean that the old standards have stopped existing.




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

Search: