Should I use <meta name="author" content="Your Name" /> or <link rel="author" href="http://mysite.com/about/" />?
Behind the war between search engines, are kind of "proprietaries metas", then I'll go for both. Search engine should not blame you to use both until you're not trying to do some spam indexing.
Depending on what is the purpose of your content, there are specific meta used in different contexts.
Let you use:
<meta name="citation_authors" content="Donald Jenkins">
<meta name="citation_keywords" content="html5 html meta-tags">
There is also Dublin Core Meta Data Initiative, which provides a complete set of metadata for authoring, etc.
Not a medata but still interesting to provide personnal informations, the hcard microformat, it uses plain and semantic html to provide vcard, in a format which can be parsed by other engine.
Example of hcard:
<div class="vcard">
<a class="url fn n" href="http://borisguery.com/">
<span class="given-name">Boris</span>
<span class="family-name">Guéry</span>
</a>
</div>
Related videos on Youtube
Donald Jenkins
Donald (@donaldjenkins) is a writer and photographer living in New York City. He dabbles in web development and is the co-founder of start-up Policymakr.
Updated on July 09, 2022Comments
-
Donald Jenkins almost 2 years
In html 5,
rel="author"
is used to link to information about the author of the page. This can be amailto:
address, though it doesn't have to be. It could simply link to a contact form or "about the author" page (I personally wouldn't want to provide email for obvious reason).Until now, I've been using the meta
author
attribute to do effectively the same thing—although the advantage of the new html 5 specification is that you can provide more than just a name, but also a link where further information about you is provided.It seems, based on another answer on Stack Overflow, that Google, Yahoo, and MSN do not index the
<meta>
author tag [source]. It suspect they don't currently indexrel="author"
either.Would it make sense to provide both? Or is it pointless to worry about this at present?
-
Yi Jiang about 13 yearsI would avoid citing W3Schools as a reference; a better reference would be something like say Sitepoint References: http://reference.sitepoint.com/html/meta
-
Donald Jenkins about 13 years@YiYang: Thanks. A useful link.
-