Domanda

Please tell me that the vs2008 has support for HTML5 or not?

and also tell me how to use HTML5 with vs2008.

Thanks

È stato utile?

Soluzione

Yes, there are a number of locations you can download an extension to enable HTML5 intellisense support in Visual Studio 2008 and 2010.

You use these by selecting the "HTML5" validation support in your IDE's toolbar. Check the articles for more complete instructions.

Altri suggerimenti

HTML 5 tags works fine with ASP.NET 3.5 (Visual Studio 2008). Just put the HTML5 tag in the ASP.NET control and it should work. Note there will be not intellisense support for it. But once you compile, it wont give you any error.

// placeholder is html5 tag but works in .NET 3.5 with no addons
// but not intellisense support
<asp:TextBox ID="EndDate" runat="server" placeholder="YYYY-MM" />

Yes, you can. Visual Studio is just a tool. Any text editing tool (even Notepad) can be used to write HTML5 webpages. When you type HTML5 tags (e.g.: <canvas> tag) in Visual Studio, although it shows validation error with green curvy underline, it will just pass the tags to the HTML output and you can still view it perfectly fine in your browsers.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top