: Proper format to markup article author for Google rich snippets and HTML5 The Google guideline Author information in search results tells us that we need to use the following format to link
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?
More posts by @Barnes591
1 Comments
Sorted by latest first Latest Oldest Best
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>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.