Validation error I don't understand


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>


Read this:

So it’s ok if I keep it like that.



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.

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.