Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.