Help in HTML Validation

Hello All,

I am working on validating a site html on the W3C standards and I am using SharePoint 2010 as the platform I used the validator (http://validator.w3.org/) in validating the HTML of the pages on it but I faced some problems which I found it is a SharePoint limitation as follows:

The SharePoint built-in search box (5 errors)

<div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPartWPQ1" width="100%" class="noindex" OnlyForMePart="true" allowDelete="false" style="" ><div id="SRSB">

Errors:-

*         there is no attribute "WebPartID"

*         there is no attribute "HasPers"

*         there is no attribute "width"

*         there is no attribute "OnlyForMePart"

*         there is no attribute "allowDelete"


A panel zone generated by the ribbon somehow (8 errors)


<div id="ctl00_panelZone">

<div style='display:none' id='hidZone'><menu class="ms-SrvMenuUI">

    <ie:menuitem id="MSOMenu_Help" iconsrc="/_layouts/images/HelpIcon.gif" onmenuclick="MSOWebPartPage_SetNewWindowLocation(MenuWebPart.getAttribute(&#39;helpLink&#39;), MenuWebPart.getAttribute(&#39;helpMode&#39;))" text="Hjelp" type="option" style="display:none">

    </ie:menuitem>

</menu></div>


Errors:-

*         there is no attribute "id"

*         there is no attribute "iconsrc"

*         there is no attribute "onmenuclick"

*         there is no attribute "text"

*         there is no attribute "type"

*         there is no attribute "style"

*         element "ie:menuitem" undefined

*         end tag for "menu" which is not finished


Do you have any idea how to fix this or did you face this before?




Thanks,
Wessam Zaki
Team Leader

Received on Tuesday, 16 July 2013 21:27:40 UTC