Join 300,293 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,135 people online right now. Registration is fast and FREE... Join Now!
Many of the web developers expected it and now HTML 5 is officially released. HTML 5 introduces some new markup elements such as <nav>, <audio>, <canvas>, <video> and <footer>. Its new functionality will also facilitate the development of RIA (Rich Internet Applications) through several multimedia interfaces.
Well since the world is moving towards XML - XHTML is pretty much defacto standard at this point, however as long as you use HTML as it is intended - for displaying text ONLY!!
Leave the design & layout to CSS you won't have these issues since the browser that don't support the DTD will default into quirks mode and they don't reap the benefits of the page the way it was intended to look.
Of course CSS isn't 100% supported by older browsers either. I actually dropped support all together for IE6 - as Microsoft is in the process of doing the same since IE8 is official now.
It's hardly a mere markup language anymore. Before, I was scoffing at it and keeping my fingers crossed for XHTML 2.0, but the XHTML5 serialization looks pretty nice.
XHTML is pretty much defacto standard at this point, however as long as you use HTML as it is intended - for displaying text ONLY!!
Dude, you totally missed the memo!
QUOTE
XHTML 2 Working Group Expected to Stop Work End of 2009, W3C to Increase Resources on HTML 5
2009-07-02: Today the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009, the charter will not be renewed. By doing so, and by increasing resources in the HTML Working Group, W3C hopes to accelerate the progress of HTML 5 and clarify W3C's position regarding the future of HTML. A FAQ answers questions about the future of deliverables of the XHTML 2 Working Group, and the status of various discussions related to HTML. Learn more about the HTML Activity. -- http://www.w3.org/News/2009#item119
I agree, however. XML is ubiquitous. However, so is writing crappy HTML. Worse, and more to blame, browsers ( IE *cough* ) that support the crap. You see a lot of XHTML transitional, but strict is depressingly rare. To some extent, XHTML is an adoption failure. Even those that claim compliance often break it anyway. The HTML 5 spec does most of what XHTML intended. Maybe now it will stick. Well, if any browser bothers to comply to it.
I don't think I'd ever work with HTML5 over XHTML1.1, or XHTML 2 if it actually becomes supported. HTML always seems to me to be a nasty un-semantic language, do they require tags to be closed now (such as img/br/li, etc.) or is that still a complete mess?
This is the W3C we are talking about, I don't think they would encourage us to start adapting to XHTML standards and then strip all ideas to resort to the failure that was known as Netscape 4 & IE 5/6
Well the problem with closing your tags in a HTML(4) environment is that it doesn't validate, I'm just wondering if HTML5 is more like HTML4 than XHTML, if so, I'll never use it as I previously mentioned.
This post has been edited by MageUK: 9 Jul, 2009 - 11:55 AM
Why does Internet Explorer have to dick up the entire world wide web? Seriously - after 8 years of developing websites I have come to the conclusion IE needs to just fold as a browser. Let the banks and governments use that shitty browser all they want, but keep John Q. Public away.
So just for shits and giggles I was looking up some references on the new <canvas> tag. Came across a neat little tutorial and decided to give it a shot. This code has been successfully tested and executed in: Firefox 3.0.11 Safari 4 Chrome Opera 9 IE 8
Anyone wanna guess the only browser this code did not render in?
CODE
<html> <head> <title>Rectangles Using HTML 5 Canvas Tag</title> <script type="application/x-javascript"> function draw(){ var canvas = document.getElementById('canvas'); if (canvas.getContext){ var ctx = canvas.getContext('2d');
Because as many of the browser developers are members of the World Wide Web Consortium you would think that maybe they should be focused on standards compliance.
Of course with Microsoft that is never the case, and they will never get it right - they never have.
Funny how all the "Other Browsers" render unreleased standards just fine.
when they're focusing on getting old ones correct?
Oh, if only this were so! It's a nice dream.
Seriously, with the power of Microsoft, does anyone think they couldn't be the most standard's compliant browser on the planet? I mean, it's not like an entire OS upon which thousands of programs depend. The browser is a piece of software and Microsoft could probably have a new one written from the ground up faster than you can say Chrome.
There are only two conclusions as to the current state of IE. Either it's simply on the agenda to keep the quirks in and make sites break from one browser to the other. Or, the priority of actually fixing it is somewhere on the list under Windows 7 and trimming Ballmer's nose hair.
I might be talking out my ass here but correct me if I am wrong. Microsoft or more particularly "Bill Gates" himself sent a memo to the design team for Front Page and ordered them not to focus on standards compliance. The reason for this was simply it would do one of two things. 1. Force people into keeping current versions of Front Page. 2. Force people to learn HTML or other WYSIWYG editors.
Microsoft as I stated before has several members on the W3C board.
They have always veered from the norm - JScript, VBScript, Active X, William Shatner I mean come on!
Well the problem with closing your tags in a HTML(4) environment is that it doesn't validate, I'm just wondering if HTML5 is more like HTML4 than XHTML, if so, I'll never use it as I previously mentioned.
come on man... f4uck validation! xD kidding
but do you prefer your site validate than use all benefits that the new language is bringing?
maybe the boss wants the site to validate (sh1t boss), but users don't matter with it, most don't even know that this exist.