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."
jodyfaisonAsked:
Who is Participating?
 
masterpassCommented:
Try modifying the DOCTYPE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0
 
jodyfaisonAuthor Commented:
thanks so much, I'll check it out now
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
jodyfaisonAuthor Commented:
On that first link, I'm getting a download, wanting to be open in Visual Studio. Is this correct? Should I open it?
0
 
masterpassCommented:
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 ...
0
 
jodyfaisonAuthor Commented:
Ok, got you thanks. Yes the re-settings are in progress right now thanks.
0
 
jodyfaisonAuthor Commented:
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.
0
 
masterpassCommented:
Yes .. It will be in master page ... I am glad I could be of some assistance :)
0
 
jodyfaisonAuthor Commented:
Thanks again!
0
All Courses

From novice to tech pro — start learning today.