"Warning 2 Validation (XHTML 1.0 Transitional): Element 'header' is not supported"
header is a HTML5 element. You need set your DocType as below
<!DOCTYPE html>
If you are using Visual Studio 2010, then HTML5 intellisense won't support there unless you have service pack 1. So it will prompt that warning. Just ignore it. It will be a valid element for HTML5.
shashikant20...
Member
7 Points
41 Posts
Warning 2 Validation (XHTML 1.0 Transitional): Element 'header' is not supported
Feb 11, 2013 11:41 PM|LINK
hi!
I have been getting "Warning 2 Validation (XHTML 1.0 Transitional): Element 'header' is not supported" when I ran a downloaded template.
The website ran perfectly but showing warning at compile time. I deleted "ReflectedSchemes" folder(http://www.gotknowhow.com/articles/fix-validation-element-not-supported-visual-studio-2010) but it didn't worked for me.
Best Regrads,
Shashikant
Ruchira
All-Star
42888 Points
7020 Posts
MVP
Re: Warning 2 Validation (XHTML 1.0 Transitional): Element 'header' is not supported
Feb 12, 2013 11:58 AM|LINK
Hello,
header is a HTML5 element. You need set your DocType as below
If you are using Visual Studio 2010, then HTML5 intellisense won't support there unless you have service pack 1. So it will prompt that warning. Just ignore it. It will be a valid element for HTML5.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.rameshbandi
Member
2 Points
2 Posts
Re: Warning 2 Validation (XHTML 1.0 Transitional): Element 'header' is not supported
Feb 16, 2013 05:04 AM|LINK
Problem is with your DOCTYPE
Visual studio alerts you the same warning untill you change the DOCTYPE