Link to home
Start Free TrialLog in
Avatar of jodyfaison
jodyfaisonFlag for United States of America

asked on

Web page warning - "Warning Validation ($SCHEMA$): Element 'h2' is not supported." - in Visual Studio 10

Anybody know why I’m getting this waring on all the design views of my web site pages. It's not just the "h2" element, but <a> and <p>, etc, all the basic ones..
I’ve had problems with the site, etc.  Am recovering from a virus attack, having to re-load lots of applications. But for some reason I get this warning in Visual Studio 2010 beta - "Warning Validation ($SCHEMA$): Element 'h2' is not supported."
Avatar of masterpass
masterpass
Flag of India image

Try modifying the DOCTYPE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ASKER CERTIFIED SOLUTION
Avatar of masterpass
masterpass
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jodyfaison

ASKER

thanks so much, I'll check it out now
On that first link, I'm getting a download, wanting to be open in Visual Studio. Is this correct? Should I open it?
The first one is not a link .... On every page you will have a doctype declared on top .. just replace your doctype by the doctype I gave you

If its the same as I have given try the second link ...
Ok, got you thanks. Yes the re-settings are in progress right now thanks.
Hey the re-setting did the trick! Thank you so much. I'll save the doc files for another day I guess. I see now what you're talking about.
I'm using a master file and that's where the doctype is tagged for me.
Yes .. It will be in master page ... I am glad I could be of some assistance :)
Thanks again!