Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

The Google guideline Author information in search results tells us that we need to use the following format to link to the article author:

<a href="[profile_url]?rel=author">Author</a>

However, HTML5 specification has another construction for that:

<a href="http://author's-domain.com" rel="author">Author</a>

So what option should we use on an HTML5 website? Maybe, something like that

<a href="[profile_url]?rel=author" rel="author">Author</a>

, which is proper in both specifications?

share|improve this question

Although their documentation doesn't say so, using the rel attribute is supported by Google, so both should work.

The 'in-URL' ?rel= syntax exists for blog users, who may not have access to edit the page's HTML tags, but the HTML5 separate attribute version is more 'correct' so I'd recommend:

<a href="[profile_url]" rel="author">Author</a>

share|improve this answer

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.