Follow the below steps ….
-Download HTML5 Intelligence tool for VS 2010 and 2008 by using following link
-Close all Visual Studio instance and install above tool
-Open VS 2010/2008, when you are in an html editor, there is a box at the top of the page to select the validation
That’s it. Hope you like it. Stay tuned for more. Happy programming!