HTML head element metadata example
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Metadata starts here
<title>HTML head element metadata example</title>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<meta name="DC.language" scheme="RFC1766" content="en" />
<meta name="DC.type" scheme="DCMIType" content="Text" />
<meta name="DC.format" content="text/html; charset=UTF-8" />
<meta name="DC.title" lang="en" content="HTML head element metadata example" />
<meta name="DC.description" lang="en" content="A brief description of the document" />
<meta name="DC.creator" content="Matthew S. Smith" />
<meta name="DC.identifier" content="file://meta_head.html" />
<meta name="DC.subject" lang="en" content="metadata; html; other keywords;" />
<meta name="DC.rights" content="(C) Copyright 2005 Matthew S. Smith" />
<meta name="DC.date.created" content="2005-12-07" />
<meta name="DC.date.updated" content="2005-12-08" />
Links to external metadata:
<link rel="meta" type="application/rdf+xml" title="FOAF" href="foaf.rdf" />
<link rel="meta" type="application/rdf+xml"
title="EARL Accessibility Compliance Metadata" href="earl.rdf" />
'Legacy' metadata. Keywords could be said to relate to
dc.subject (note different delimiters)
and description to dc.description.
<meta name="keywords" content="metadata, html, other keywords" />
<meta name="description" content="A brief description of the document" />
Metadata ends here
<link rel="stylesheet" type="text/css" href="default.css" />
<style type="text/css"></style>
</head>
<body>
Links to metadata can also be in the body of the document, for human use.
<ul>
<li><a href="foaf.rdf"><My abbr title="Friend Of A Friend">FOAF</abbr> Metadata</a></li>
<li><a href="earl.rdf"><My abbr title="Evaluation And Reporting Language">EARL</abbr> Metadata</a></li>
<li><a href="rss.rdf"><My abbr title="(Resource Description Framework) Site Summary">RSS</abbr> Metadata (Feed)</a></li>
</ul>
</body>
</html>