HTML5 and CSS3 - Is there a Web standards divergence?
At present I am reading the Sitepoint book - HTML5 & CSS3 for the real world:
http://www.sitepoint.com/books/htmlcss1/
In the section
"Would the real HTML5 spec please stand up"?
There I read that there is now an additional organization "the Web Hypertext Application Techonology Working Group" WHATWG that serves the living HTML standard, dropping the "5" found at http://www.whatwg.org/specs/web-apps...ork/multipage/ . It is called a "living standard" because it will be in constant development and will no longer be refered to using incremental updates.
The W3C's version of the standard can be found at :
http://dev.w3.org/html5/spec/Overview.html
Quote:
So what is the difference between the W3C spec and that of WHATWG? Briefly the WHATWG version is a little more informal and experimental (and, some might argue more forward-thinking).
WHATWG was formed by a group of people from Apple, Mozilla and Opera.
Should you be worried that there are two versions of the spec?
What is your opinion?
Start using Modernizer today. It will increase your efficiency.
Quote:
Originally Posted by
jhannawin
It is an interesting time.
Do you know http://www.modernizr.com/ ? It will make your sites parse well in older browsers and on other platforms. The JS library is constantly updated and as far as I know it is more targeted at making your sites render well in older browsers. As far as I know from the book I mentioned in the OP it is more efficient on this than the excellent jQuery library.
We know the various WP and Drupal plugins to solve backward compatibility problems with older browsers and other platforms like mobile devices. Now there may be a living JS library that takes care of this for us.
When Modernizr runs, you can for example test if your browser / platform supports geolocation like this:
Code:
if (Modernizr.geolocation) {
// go ahead and use the HTML5 geolocation API. It is supported
}
else {
// there is no support for the HTML5 geolocation.
}
View source and look at the head tag of the first link in my signature how I include the library. It should be included in the head.