Search code examples
htmlprofilehead

Profile element visible in browser


I have found that the profile element of my head is showing up in the browser. The interesting thing is that it is only doing this for one page in particular, even though I have the profile element on every page of our website. The code is: and the link to the page it is occurring on is: http://www.oilpaintersofamerica.com/memberservices/contactmembership.cfm

Any ideas?


Solution

  • You have two <script> tags inside the <head ...> start tag, before the profile attribute.
    The browser tries to fix this by closing the start tag.

    Therefore, it ends up parsing the literal text profile="http://www.w3.org/2005/10/profile"> inside your <head>.
    For (I assume) compatibility reasons, any literal text inside the <head> is rendered in the page.

    You need to fix your <head>.