Will Visual Studio 2010 support HTML 5?

2019-01-21 11:23发布

Since Visual Studio 2010 is slated for release in March of 2010 and HTML 5 is now starting to be used even more widely, I would like to know if Visual Studio will ship with HTML 5 templates, standard controls and support for the more common markup?

A definition for support of HTML 5 would be that any new version of Visual Studio should have similar support for code-completion, validation and markup that is currently supported for HTML 4.01 and XHTML 1.0 and 1.1.

Update From the Visual Web Develolper Team Blog:

HTML 5 intellisense and validation schema for Visual Studio 2008 and Visual Web Developer is for downloading. Follow the instructions posted on the page to install the new scheme. Seems like the Visual Studio Team will be supporting HTML 5 after all.

February 2011 Update from the Visual Web Developer Team Blog

Visual Studio 2010 SP1 finally adds some support for HTML5. "The entire HTML5 specification isn’t supported but most of the new elements and attributes are. That means you get both intellisense and validation for HTML5 with SP1." Read More Here

May 2011 Update from Scott Guthrie's blog

Just this month, Microsoft has pushed out some HTML5 improvements with the ASP.NET MVC 3 Tools Update. While the post seems to be very pro MVC, it's nice to see that Visual Studio 2010 now has default templates and intelisense support for HTML5; along with a nice addition of a jQuery script that will give some backwards support for older browsers.

9条回答
Emotional °昔
2楼-- · 2019-01-21 11:48

How can you support something that doesn't exist? Something you can't validate against because there's no accepted spec?

Yes they could build in support for the experimental DTD, but they did that with XML/XSLT/XPath and ended up fragmenting XML support for far too long and were attacked for it from all sides.

Giving that people like Google are now pushing for tags they want just to make supporting Wave easier it's going to be a long time before HTML5 is done, and the "standard" is going to fluctuate and change - so why waste time and resources trying to hit a moving target?

查看更多
Deceive 欺骗
3楼-- · 2019-01-21 11:49

A simple answer is yes. Visual studio has been working on this from long time.

查看更多
小情绪 Triste *
4楼-- · 2019-01-21 11:52

If anyone is having trouble getting the HTML 5 schema tool to work in Visual Studio 2010, take a look at this blog post I found which is a great help:

raihaniqbal.net - HTML5 Support In Visual Studio 2010

查看更多
登录 后发表回答