SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2011
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Validation error I don't understand

    Hello,

    What would it mean?

    Bad value home for attribute rel on element a: Keyword home is not registered.

    ... title="Home" rel="home">site</a>
    As seen in:

    <a href="<?php bloginfo( 'url' ) ?>/" title="Home" rel="home"><?php bloginfo( 'name' ) ?></a>

  2. #2

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2011
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So it's ok if I keep it like that.

    Correct?


  4. #4
    SitePoint Addict sdleihssirhc's Avatar
    Join Date
    Feb 2009
    Posts
    387
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Actually, no. But only if you're worried about valid markup. Here's a list of valid values for the rel attribute. Note that "home" is not on that list, and that's why you're getting the error.
    I'm the web overlord for Graphic Business Systems

  5. #5
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Since I've NEVER seen a UA that does ANYTHING useful with REL on tags other than LINK, (and then only prev/next are actually used) I'd just swing a giant axe at those as being pointless bloat... Kind of like title attributes that say the same or less than the contents of the tag they're applied to... which means depending on what your PHP is putting inside that anchor, I'd be swinging a giant axe at that TITLE attribute for being pointless as well.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •