Good Afternoon Guys.
I've been following this blog for some time now and throughout this time I have adopted a lot of the good practices must of you always suggest, like Doctype, Validation, etc... I have been working with Strict XHTML for some years now.
I will really appreciate your advice in terms of moving to HTML5. I will always use all the good things I've learned in this site in terms XHTML coding, but I just wonder, is it the time to move to HTML5 now?
Thanks in advance.
Sounds like such a nice
Sounds like such a nice simple question
The answer is not so black and white.
Firstly HTML5 is still only a working draft, so things can and will change. As web developers we are used to handling change so that shouldn't be too much of an issue depending on how you make use of HTML5.
Lots of the new html5 features require hacks to work in old browsers. Again we are used to that.
Really I think it depends on the site and the features you are going to use.
If you are working full time on your company website or your own, then go for it. You can always apply patches/fixes as required.
If you are building a client site then tread carefully, as next year they might be cursing you for making such a bad site that doesn't work in such and such a browser. They will pay some frontpage developer to redo the site.
I have started using the html5 doctype just because it is shorter and easier to remember. With that you can use html4 or xhtml markup sprinkled lightly with html5.
Resources:
http://html5boilerplate.com/
http://diveintohtml5.org/
http://html5doctor.com/
Tony wrote: I have started
I have started using the html5 doctype just because it is shorter and easier to remember. With that you can use html4 or xhtml markup sprinkled lightly with html5.
Same here.
Ive started using html5 with
Ive started using html5 with css3 on all my personal stuff. I dont use hacks for anything, so my site isnt friendly to some browsers. To help aid this, Ive totally blocked my site from being viewed with any version of IE. This approach isnt idea, but I just dont give a sh*t. I wouldnt use too much html5 or css3 if it were a customer's site you were building.
CupidsToejam wrote: I wouldnt
I wouldnt use too much html5 or css3 if it were a customer's site you were building.
Get yourself http://css3pie.com/ and you remove a lot of the restrictions that IE normally poses on your use of CSS3. I've been using it quite a bit on the last 3 or 4 sites I've been working on.
I picked up the HTML5 book
I picked up the HTML5 book from ALA - http://books.alistapart.com/
It's insightful, haven't finished it yet, so no real review, but the first 30ish pages I've gotten through has some fun information on it's development as well as examples of usage.
Deuce wrote: I picked up the
I picked up the HTML5 book from ALA
I pre-ordered that one. Its a real easy to read and understand!
Thx Tyssen, it looks enticing!
Yeah been dying to be able to
Yeah been dying to be able to do:
<section> <h3>nice new section</h3> <p>I have a brand new element to keep me warm and cosy</p> </section>
Would help if the whatwg could put together readable drafts on the specs 
Book price for a booklet
I picked up the HTML5 book from ALA
I pre-ordered that one. Its a real easy to read and understand!
Thx Tyssen, it looks enticing!
I also pre-ordered. I found it to be very informative, and well worth reading, but wa-ay over priced.
cheers,
gary
.
Maybe the price will be more reasonable at about the time IE9 comes out of beta and hits the shelves.
Hey Gary.turner, Tks for the
Hey Gary.turner, Tks for the info, I am looking at it also and am hoping it will be of help. Since I am a beginner I am hoping it is easy to read.
Yes it is.. just add
It is time.. just add <!doctype html>
It's backwards compatible so you could technically go back and switch your xhtml and html4.01 doctypes and they will still work the same. I think using actual html5 elements is fine to work with now as long as you have some fallback for browsers that don't support it. There are many javascript workarounds to create these elements like modernizr but then of course you have to rely on the user having javascript enabled, but hey if you are using IE6 with javascript disabled you might as well switch over to prodigy (or just shoot yourself)..
Check out html5 boilerplate as well
ya
but hey if you are using the most popular browser on the planet with javascript disabled you might as well switch over to prodigy (or just shoot yourself)...
I'm not fan of IE, but I have to accept it is the most popular browser on the planet. IE6 accepts the HTML5 doctype just fine, but none of the IE's under 9 understand the <footer> tag or any other tags. So you're using scripting to make markup work.
Which is fine for a site created to showcase what HTML5 can and can't do.
Don't use it for banks, e-commerce, government sites, non-profits, etc. Certainly not for sites built in a country that legally requires sites be accessible (and if they are based on WCAG, then scripting is addressed).
Pointing out that some set of users are in a minority seems to be used a lot in comments on HTML5 sites as some way to say it's ok to tell them off. I'd say it depends on the site, the target audience and the applicable laws.
mpoveda wrote: Good Afternoon
Good Afternoon Guys.
I've been following this blog for some time now and throughout this time I have adopted a lot of the good practices must of you always suggest, like Doctype, Validation, etc... I have been working with Strict XHTML for some years now.
I will really appreciate your advice in terms of moving to HTML5. I will always use all the good things I've learned in this site in terms XHTML coding, but I just wonder, is it the time to move to HTML5 now?
Thanks in advance.
Myself, and being new to all this HTML stuff, decided that its best for me anyway to go ahead and get used to writing HTML and CSS that is certainly on its way in rather than learning bad habits or outdated code.
It certainly helps me to not have to remake a website later if the code is validating Strict now.
In as much as I can I try to get most of my pages to validate XHTML Strict.
Some dont because Ive got some script or something that doesnt jibe, but I make sure to leave those so they can be easily removed/replaced with something else later if I have to.

CupidsToejam wrote: Ive
Ive started using html5 with css3 on all my personal stuff. I dont use hacks for anything, so my site isnt friendly to some browsers. To help aid this, Ive totally blocked my site from being viewed with any version of IE. This approach isnt idea, but I just dont give a sh*t. I wouldnt use too much html5 or css3 if it were a customer's site you were building.
Ive just been making it as compliant as I can with the incoming HTML and CSS and letting the chips fall where they may.
If IE doesnt want to play ball, Im not getting bent out of shape or trying to learn hacks for IE 4 versions old.
If people want to be able to SEE and READ the site as Ive created it, they need to get rid of that 486 dinosaur and get into the 90s....








