Live data from Hacker News

Reasons to Use HTML5

tympanus.net

1–10 of 22 posts

Re: Reasons to Use HTML5

#2
One of the better HTML5 walkthroughs. I like that he emphasizes almost seamless transition from XHTML. That's the key point, not all the new features!

I did not know about the Javascript shiv to make old browsers support HTML5. Very neat! Will play around with it right away.

Re: Reasons to Use HTML5

#6
post #3

I do find it a bit ironic that the article is published on a site with the XHTML Transitional DOCTYPE. "It’s the Future, Get With It!" ;-)

It is not ironic, it's humanity: http://www.zeldman.com/2011/11/18/it-is-not-ironic/

Humanity can be pretty ironic in its behavior, at times.

Re: Reasons to Use HTML5

#7
You'd be surprised at just how many people are still using table based layouts, inline styles and JavaScript, they keyword meta tag, and a ton of techniques that were cutting edge in 1997! And I'm talking about professional design firms!

I love HTML5 and I see no reason not to use it today. I know that there are still people using browsers that won't support the majority of features but we can still at least use the new tags and doctype with the JS shiv. For everything else there are well known ways to serve up new hotness to modern browsers and old lameness to old browsers. For example we can use the video tag with the last line before the closing tag being an embed for a YouTube or other video player as a fallback for older browsers.

I think there are 2 and a half reasons why HTML5 isn't being widely adopted yet. First, newbies are being fed old techniques from online tutorials and old books. Secondly, many of the cooler new features of html5 require JavaScript to work (Local Storage and Canvas for example). A lot of people still haven't gotten on the JavaScript bandwagon (including me, I admit. I can use jQuery plugins and get how they work but god help me if I had to write a single line of JS from scratch!). And then reason 2.5 is that people are just set in their ways. There are a ton of people who had been fed the rhetoric about semantics, divitis, and how to "properly" write HTML while learning XHTML and waiting for the I,agin any XHTML2 spec to arrive. Some of those people are set in their ways or have sour grapes about XHTML not being the new hotness after all the hype.

I have a question though. Why is it that in the HTML5 Boilerplate the doctype tag is in all lowercase? My text editor highlights it like its wrong. I usually capitalize the word DOCTYPE and leave html in all Lowe case. Does it make a difference?

Re: Reasons to Use HTML5

#8
The only benefits of HTML are that it's supported by all vendors. But that's where it's advantages end. HTML and CSS are just a joke, and were never meant and designed to be used for application development. Javascript is a shit language, not geared towards writing performant code and projects like V8 try to workaround it, but that's just a workaround. Of course you can use hacks to achieve performance in JS too, but that wouldn't be idiomatic javascript. So, sad but true, there is lots of hype going on about crap technologies lately and it seems like we are going to deal with them in the foreseeable future, if even so experienced guys like Microsoft had to surrender and start using it.

Re: Reasons to Use HTML5

#9
post #3

I do find it a bit ironic that the article is published on a site with the XHTML Transitional DOCTYPE. "It’s the Future, Get With It!" ;-)

Haha yeah, but do take a look at the link to Zeldman's post.

Sometimes it's a guest poster who writes about these things. They want the promotion and can't change the site's code.

Sometimes the site was written before whatever new standard the post is about came into being. It's a large undertaking to rewrite a whole site.

So,etimes we have to break the rules for a reason. Advocating certain standards or specs for the sake of standards, specs, or best practices is not what is important. What's important is that we know the rules and understand them well enough so that one day when we break those rules we know it's justified and we have a food reason for it. All in all, my sentiment is "use (name of spec or standard) when you can and if it makes sense".

I know you were kidding but I thought this would be a good opportunity to say this as I see a lot of standards and practices nazis out there who advocate for doing things a certain way for the sake of doing things a certain way, which is just silly.

Re: Reasons to Use HTML5

#10

You'd be surprised at just how many people are still using table based layouts, inline styles and JavaScript, they keyword meta tag, and a ton of techniques that were cutting edge in 1997! And I'm talking about professional design firms! I love HTML5 and I see no reason not to use it today. I know that there are still people using browsers that won't support the majority of features but we can still at least use the…

Nope, HTML(5) is flexible. You could use if you feel like getting funky :-)
Post reply on HN