WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Profile attribute in the head tag. (2 posts)

  1. Scorix
    Member
    Posted 4 years ago #

    I am working on my own theme, and since it's my first theme with WordPress, it's a modified version of Kubrick. My head tag looks like this:

    <head profile="http://gmpg.org/xfn/11">

    When validating my site over at W3C, I get this error:

    Error Line 5, Column 39: The profile attribute on the head element is obsolete. To declare which meta terms are used in the document, instead register the names as meta extensions. To trigger specific UA behaviors, use a link element instead.

    So does anyone know why the profile attribute is in the head tag, and can I safely remove it?

  2. Russell Heimlich
    Member
    Posted 4 years ago #

    Yea totally. It won't hurt anything. The best part about HTML is you can guess and check.

Topic Closed

This topic has been closed to new replies.

About this Topic