Semantic HTML markup for a copyright notice

Scott picture Scott · Oct 31, 2008 · Viewed 18.4k times · Source

When a web site is licensed under Creative Commons, I use the rel-license microformat. When a web site is licensed under regular copyright, I have a boring paragraph element.

<p id="copyright">&copy; 2008 Example Corporation</p>

That id attribute on there is just for CSS styling purposes. I'm wondering if there's some better way to markup a copyright notice that is more semantic. Is this a job for Dublin Core metadata? If so, how do I go about it? (I've never used Dublin Core before.)

Some web sites advocate using a meta tag in the head element:

<meta name="copyright" content="name of owner">

Which might be seen by search engines, but doesn't replace the user-visible notice on the page itself.

Answer

Scott picture Scott · Oct 31, 2008

Thanks to Owen for pointing me in the direction of RDFa, I think I've got the solution now:

<div id="footer" xmlns:dc="http://purl.org/dc/elements/1.1/">
<p id="copyright" property="dc:rights">&copy;
  <span property="dc:dateCopyrighted">2008</span>
  <span property="dc:publisher">Example Corporation</span>
</p>
</div>

Depending on the situation, it might be better to use dc:creator instead of dc:publisher. From the Dublin Core web site:

If the Creator and Publisher are the same, do not repeat the name in the Publisher area. If the nature of the responsibility is ambiguous, the recommended practice is to use Publisher for organizations, and Creator for individuals. In cases of lesser or ambiguous responsibility, other than creation, use Contributor.

I will also be adding a meta tag to my head element for search engines that don't support RDFa yet.

<meta name="copyright" content="&copy; 2008 Example Corporation" />