HTML 5 intellisense and validation schema for Visual Studio 2008 and Visual Web Developer

HTML 5 intellisense and validation schema for Visual Studio 2008 and Visual Web Developer

Rate This
  • Comments 20

You all probably know that new HTML 5 standard is coming. We made a new intellisense schema that you can add to VS 2008 or VWD Express 2008 and get intellisense and validation on HTML 5 elements. Note that schema is for markup only, we do not have DOM2 update for jscript intellisense yet.

How to install the schema:

  1. Download attached ZIP file.
  2. Place html_5.xsd in C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\schemas\html
  3. Run either x86 or x64 reg file depending on the OS and VS/VWD flavors installed. For example, for VWD Express installed on 64-bit OS run HTML-5-Schema-Reg-x64-VWD.reg and for VS 2008 installed on 32-bit OS run HTML-5-Schema-Reg-x86.reg.
  4. Restart VS
  5. You can select HTML 5 in the schema dropdown and HTML 5 element attributes should appear in the Properties window.

On 32-bit OS path is C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\schemas\html. VWD shares folder with Visual Studio.

Schema is experimental and has certain limitations. For example, VS 2008 and VWD are not able to validate 'wildcard' attribute names, like HTML 5 data-* attributes and is not able to handle 'transparent' content model when element content is defined by the element parent (see, for example, A element). However, it may help you to start playing with the new standard.


- Mikhail Arkhipov

Leave a Comment
  • Please add 3 and 2 and type the answer here:
  • Post
  • i want wav player ,and mp3 player coddings..

  • I'm installed but this not work

  • Im fully installed that html editor  but its not working!!!! I want a better and good system so I can use it well.

  • Make sure you register schema using correct REG file - registry paths are different for Visual Studio and VWD and they are also different between 32 and 64 bit OSes.

  • If you're going to use HTML 5, please use the right doctype: <!DOCTYPE html>

  • Works like a charm, as soon as I understood that you need to set the "Target Schema for Validation" dropdown to "HTML 5" (as shown in the picture above).

    Thank you so much for making the schema available.

  • I can't get this to work also - I'm running Vista 32bit, VWD so tried running "HTML-5-Schema-Reg-x86-VWD".  However, when I start up I have no option to select HTML 5 from the validation schema drop down.

    Any ideas? I tried to run the other regsitry entries as well to see if that had an effect - didn't work either.  Could these now be in conflict?


  • Please try updated REG files - ZIP file has been updated.

  • That did the trick - thank you.

  • The HTML 5 intellisense is working, however the tag elements for MathML do not seem to be present...and to my limited understanding, MathML is native to HTML 5.  Any guidance would be appreciated because I would like both html and MathML intellisense support when I am working in the VWD source view.  Thanks.

  • This is expected - unfortunately, currently VS has no support for 'schema inside schema' i.e. connect svg.xad to <svg> element. Technically it is probably possible to merge svg schema and html5 schema into a single file, you can try that. SVG schema blog post is here

  • I fully followed the instruction, but it doesnt work. I even restarted my computer (a 64-bit box). Any help?

  • It's working now - I also found that I need to set the "Target Schema for Validation" dropdown to "HTML 5" (as shown in the picture above).

  • Any ideas on how to get this to work in VWD 2010 beta?

  • VWD has the tend to damage my files. When I have a long time working on a file there's a moment when I try to save the project and VWD hangs and restarts. The BIIIG PROBLEM is that the file that I was trying to save is saved incompleted! I have lost hours and hours of work because of this. Are there some way to recover some of my past modifications to this file? I have tried to look in the backup folder in my documents but there's only one copy of the file I was working on and it's incomplete too.

Page 1 of 2 (20 items) 12