You can get rid of the warnings in Visual Studio. In Visual Studio menu Tools > Options > Text Editor > HTML > Validation Choose Internet Explorer 6.0 and then uncheck validations.