Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why is Google publisher HTML tag invalid according to W3C specification? Is there any way to correct this example:

<a href="http://plus.google.com/109469573972649651137?prsrc=3" rel="publisher" class="c3">
share|improve this question

i got a hack around it its simple just as in verification of author here if an example <a href="https://plus.google.com/109469573972649651137?rel=publisher"> happy coding

share|improve this answer

I'm not quite sure with your question whether you mean that the Google rel=publisher doesn't work for your site, or that it works but w3 is saying its invalid.

If it's not working with Google you can use the rich snippets testing tool here: http://www.google.com/webmasters/tools/richsnippets

If its working with Google but w3 is showing it as invalid, i wouldn't say that's that much of a problem as the code is only going to be used by Google so as long as they can read it. Also, I think it's important to note that search engines are very good at interpreting HTML even bad or invalid HTML. So it not being 100% valid isn't something I'd be too concerned about especially if it's just this one link.

share|improve this answer
i got a hack around it its simple just as in verification of author here if an example <a href="plus.google.com/…; happy coding – Jimmy Obonyo Abor Nov 1 '12 at 19:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.