Forum Moderators: open

Message Too Old, No Replies

Will HTML 5 be a topic to study this year? or next year?

         

theSwak

1:45 am on Mar 2, 2010 (gmt 0)

10+ Year Member



I am looking into doing some self-training on HTML5. I also work on several e-commerce sites and really want to know the validity in making HTML5 an important task to learn this year or if it will not have much effect till next year.

Should I take HTML5 into consideration as we have a few planned redesigns for some of the websites this year?

claus

3:27 am on Mar 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Personally I'm not buying into it. HTML 4 fits my needs already. And, AFAIK, Google Chrome is the only browser supporting it so far.

So, unless you have some special needs that only can be met by HTML 5, I'd say stick to version 4. Wait at least until internet statistics clearly show that the vast majority of browsers understand version 5.

Fotiman

2:49 pm on Mar 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



All of the major browsers except for IE should have some support for HTML5. Even IE can be made to allow styling of HTML5 elements with a tiny script:
[code.google.com...]
However, for large scale production code, you should take into consideration that IE users with JavaScript disabled will not be able to style the new HTML5 elements, which means we're probably not quite ready yet to push all of HTML5 yet. But there's nothing preventing you from using an HTML5 DOCTYPE with a document that contains only HTML4 elements... HTML5 is a superset, so it could not hurt to start learning what some of the changes will be.

There are a lot of pieces that make up HTML5, including canvas, video (without the need for Flash), and new HTML elements. Here is a good, easy to understand primer:
[diveintohtml5.org...]

Hope that's helpful.

pageoneresults

3:10 pm on Mar 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've already launched a few HTML5 websites. I've kept them simplistic in nature as HTML5 allows you to segment a page further using these elements...

<section>, <article>, <hgroup>, <header>, <nav>, <aside>, <footer>


DOCTYPE is simple...

<!doctype html>


Google uses the HTML5 DOCTYPE.

I'm getting on board early. There appears to be support for large chunks of HTML5 with others quickly coming on board.

I would definitely keep it to the basics and those elements that are known to be supported widely like the ones I've mentioned above.

What do the above elements do? They allow UAs to segment the document into logical chunks of data and weigh them accordingly.

For now, I've developed these sites using the HTML5 semantic containers as suggested. I just put them outside of the original containers and am waiting for full support to come into play.

mattur

3:31 pm on Mar 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am buying it :-) Don't think of "HTML5" as a monolithic new technology to be ready on date xx/xx/xx. Browsers are gradually adding new features with each release, feature by feature. But as claus says, for production usage wait for browser support.

In the meantime, if it interests you, experiment!

HTML5 specifies the way the current web works *and* extends HTML in a backwards compatible way:

1. A massive amount of work has gone into reverse engineering existing browsers and documenting how they actually work (or should work*). The sheer scale of this feat is awe-inspiring.

2. Previously unspecified bits of the current web are documented (e.g. <canvas>, XmlHttpRequest, innerHTML)

3. New structural elements (e.g. <section>, <article>, <footer> )

4. New media elements (<video>, <audio> )

5. New "app" elements (e.g. <progress>, <meter> )

6. New form input types (e.g. <input type="email">, <input type="date"> )

7. New input element attributes (e.g. "required" and "pattern="[regex]" for validation, "maxlength" for textarea)

8. SVG and MathML support

9. New APIs (e.g. getElementsByClassName(), offline storage, cross document messaging)

HTML5 differences from HTML4 [dev.w3.org] is a good place to start (this is the latest draft of this doc, to be officially published later this week).


* As Mark Pilgrim put it:
Browser vendors are already fixing some of their parsing quirks, filling in gaps in their implementations of previously undocumented/underdocumented features, and converging on more interoperable behavior. You won’t see the results overnight, but these are important steps towards making the web a less frustrating development platform.”

micklearn

3:43 am on Mar 3, 2010 (gmt 0)

10+ Year Member



Fotiman, at the very end of the second link/page that you provided, the following statement caught me off guard:

"In association with O’Reilly, Google Press will be publishing this book..."

Are Google and Opera running the show with HTML 5?

claus

4:48 am on Mar 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I should perhaps qualify my answer above a bit. It was primarily a reaction to these words of the original post:

an important task to learn this year


... as if it was an urgent "must have" skill. I really don't think it is urgent in any way to learn, or to apply it in 2010 as opposed to 2011 (or 2012 for that matter)

Considering the fact that it took several years before the dominant browser, IE, went standards-compliant, I wouldn't personally expect miracles in HTML5 support for the forseeable future. Also, new frameworks comes with new bugs and all kinds of start troubles.

However, as a personal pet project to have fun with ther's nothing wrong with learning new stuff - especially as you can do so withiout being in a rush. So, if you've got some spare time, and there's nothing more important hanging over your head, why not take a look at it.

However, it would not exactly be my personal top priority. I'll be spending only a very modest amount of time on it this year, personally. And the same thing probably goes for next year.

mattur

12:46 pm on Mar 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are Google and Opera running the show with HTML 5?

The WHATWG started as a group of volunteers in 2004, some of whom were working for browser companies. In the first few years its work was "under the radar of the management levels of those companies"; it was a grass roots effort.

Mark Pilgrim, author of Dive Into HTML5 [diveintohtml5.org], works for Google. Editor Ian Hickson used to work for Opera, but convinced Google to pay him to work on HTML5. Mozilla, Apple, Opera (and even Microsoft) people are also involved, and a bunch of other people too. Since 2007, the W3C have been involved too.

The browser companies are effectively running the show: they always have the final say on what gets implemented anyway. But this is also the most open HTML standards process to date - by far - where anyone can get involved. No private mailing lists...

tedster

5:24 pm on Mar 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Learning about HTML5 is also a good way to learn about HTML altogether - what it is, how it is created and upgraded, etc. That kind of background can have all kinds of indirect but real benefits to your professional skill set.

tedster

6:56 pm on Mar 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Opera browser just released their new version 10.50, with a lot of HTML 5 support. Here's a new articel on the Opera Core blog that goes into the new <audio> and <video> elements:

Everything you need to know about HTML5 video and audio [my.opera.com]