Despite the draft status, HTML5 is indeed a hot topic this year. Audio/Video tag and codec war, Canvas, Local Storage… So now the question comes: Does/Will SharePoint 2010 support HTML5?
Depending on what you want, the answer may be quite different. I always ask some questions before I answer the supportability question: What do you mean by support? What do you want to achieve?
So here’s why I’m asking:
If you answered the questions and considered the above points, you will have a general idea whether you want to use HTML5 or not in your project. Now the question turns into another way: Are you trying to get HTML5 tags into SharePoint 2010 pages, or are you trying to make SharePoint 2010 to output HTML5 pages that can be validated?
Hope this helps to clarify the questions of HTML5 and SharePoint 2010.
#Update: IE9 Platform Preview 3 is released for public: http://ie.microsoft.com/testdrive/ It supports audio and video tags, plus canvas. My demo is working in the preview, but you have to select "Force IE9 Document mode" in the menu since we are not outputing native HTML5 pages. The test result shows a lot of progress has been made in IE9 development.
Jie.
Good to hear this topic. I visited your demo site and it gives Javascript error in my IE8 browser.
The Title "Welcome to Contoso Marketing Dept." is also shown in Indian Language. How did you manage to do this? :)
@Kamlesh
Since there's no HTML5 support in IE8, the scripts inside Canvas demo will give Javascript error (the object is not valid). That's why you may want to use Safari or Chrome to visit the website. Opera and Firefox should be able to show the Canvas part, but not the <video> tag since they do not support H.264 decoding.
The sentence in Indian language is to show that you can put content in those language into SharePoint pages, as long as they are in Unicode. It does not mean "Welcome to Contoso Marketing Dept." in fact, I just copy and pasted it from another website.
Same question could be asked re: CSS3 - idea for another post :)
Aside from HTML5, what other issues might there be with Sharepoint 2010 and IE9? Currently we don't seem to be able to edit Wiki pages in SP2010 with IE9, for example.
@lex
IE9 does not hit RTM yet so there're still many bugs. In a perfect world it should work with *ANY* website including SharePoint and this should be supported. I'm not in a position to say when this can be supported, but let's wait for the RTM version. At that time if something is still wrong then the product group will take action to fix it.
It appears that the HTML <section> tag is not fully supported by SharePoint. When we put content placeholders in the section tag and then attempt to publish a publishing page, we get an "Object reference not set to an instance of an object" error. if we move the place holders out of the section tag and into a div tag, it works perfectly. Go figure...
I am creating html templates for a sharepoint site. They are using SP 2010. Can i use html5 doctype and html5 tags in my templates?
I am using html5boilerplate if that helps : http://html5boilerplate.com/
Will sharepoint allow this?
There is a few issues when trying to use IE9 and not emulate it to IE8.
I have written a small article about this:
maghansson.blogspot.se/.../sharepoint-for-ie9-display-language.html