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?

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>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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