O'Reilly logo

Visual Studio 2012 Cookbook by Richard Banks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating HTML5 web pages

With Visual Studio 2012, Microsoft has placed a strong focus on HTML5 and web standards in particular; partly to do with the Windows Store app development process and partly to do with being a good netizen and supporting standards based web development. This recipe will show you how Visual Studio can help you when developing a HTML5 page.

Getting ready

Simply start Visual Studio 2012 and you're ready to go.

How to do it...

  1. Create a new ASP.NET Web Forms Application project using C# and ensure that you are targeting .NET Framework 4.5.
  2. Open the Site.Master page and switch to the Source view in the editor.
  3. In the toolbar you can change the target schema that the IDE uses to validate the markup. By default this will be based on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required