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

Which html element should be used when writing out the author of an html document, with regards to semantics, SEO and so forth?

Thanx!

share|improve this question

3 Answers 3

up vote 3 down vote accepted

You can use the meta tag like Tom Gullen suggested, but then the only way to find out the author is to check the source of the page, since browsers don't tell you. Most people do not know how to do that.

If you want to make it clear to all visitors who wrote the page's content, put the author's name direct on the page. There is no special element for that so just use p, span or div, whichever is appriprite.

You may also like to take a look at the hAtom and hCard microformats, which use semantic classes to describe entities like articles and people.

Finally just to point out - the author is irrelevant for SEO.

share|improve this answer
<META NAME="Author" CONTENT="George Costanza, gcostanza@vandalayindustries.com">

Although usage of this is questionably useless. But it wont do any harm either way.

share|improve this answer

I agree, if the author info is for easy human consumption, use microformats. the Author metatag is only ever seen by people checking out other people's code!

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.