Summary
The following gives you the basic code to build an XHTML 1.1 compliant web page with meta tags.
The markup
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Example Title</title> <link rel="index" title="Example Title" href="http://example.com" /> <link rel="canonical" href="http://example.com/" /> <meta name="description" content="Description of web page." /> <meta name="keywords" content="keyword1,keyword2,keyword3" /> <meta name="generator" content="www.domainsfoundry.co.uk" /> <meta name="author" content="John Smith"> <meta name="copyright" content="© 2009 - John Smith"> <link rel="index" title="Example Title" href="http://example.com" /> </head> <body> <h1>Basic Page Structure XHTML 1.1 Valid</h1> <p>This is an example of a basic XHTML 1.1 valid page structure with meta tags.</p> </body> </html>