Creating HTML5 web pages
VS2012 increased its support for the current web standards (including HTML5), and VS2013 continues this emphasis. The HTML editor used in VS2012 traced its roots to the code originally written in the 1990s (for developers with long memories that means it originated with Microsoft FrontPage). VS2013 is debuting a new editor for web applications built around managed code, which Microsoft promises will offer greater extensibility going forward as well as greater stability. Web forms-based applications (files ending with the .aspx
or .ascx
extensions) will still be using the older editor, but in any case, Visual Studio will automatically pick the correct editor transparently on your behalf.
Let's take a look at this new editor by creating some pages following the HTML5 standard.
Getting ready
Just start up VS2013 or Visual Studio Express 2013 for the Web. We will be creating a brand new project for this recipe.
How to do it…
This recipe will walk through editing files in...