开发者

HTML5 and ASP.Net 4.0

开发者 https://www.devze.com 2023-02-15 18:43 出处:网络
Is the html output开发者_运维百科 generated in ASP.Net 4.0 is HTML5 Compliant?It is compatible with HTML5, but it is not HTML5.

Is the html output开发者_运维百科 generated in ASP.Net 4.0 is HTML5 Compliant?


It is compatible with HTML5, but it is not HTML5.

Check out this thread: http://forums.asp.net/p/1401032/3032617.aspx


Asp.net 4.0 with Visual Studio 2010 is compatible with HTML 5. You can download the Visual Studio Service pack 1 Beta From Here for Html 5 and CSS3 intellisense

Check other url's which ca help you to create Html5 Pages.

http://blog.reybango.com/2010/09/21/how-to-create-html5-website-and-page-templates-for-visual-studio-2010/


If you want to use ASP.Net controls which render as HTML5 inputs, links, etc, you can create custom controls or use some that are freely available. I made a suite of them and open-sourced it at http://html5asp.sourceforge.net. The main challenge was getting the inputs to generate HTML with "input type='XXXX'". If you want to make your own, this is done by overriding AddAttributesToRender and RenderContents. Please feel free to check out my project for the complete source code or download the binaries.


It is compatible with HTML5. Try below link:

http://weblogs.asp.net/scottgu/cleaner-html-markup-with-asp-net-4-web-forms-client-ids-vs-2010-and-net-4-0-series

0

精彩评论

暂无评论...
验证码 换一张
取 消