Hosting Guide

XHTML 1.1 Valid Basic Page Structure

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="application/xhtml+xml; 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.ecenica.com" />
<meta name="author" content="John Smith" />
<meta name="copyright" content="&copy; 2009 - John Smith" />
</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>

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London