Structure Module


 

Reference: *Structure Module at the W3C

Elements in this Module

html, head, title, body

Description

The Structure Module declares the elements used in the basic structure of an XHTML 1.1 document.

For example, the code below shows how these elements are used in a typical XHTML 1.1 document:

<?xml version="1.0" encoding="utf-8"?>
<!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>
    <title>Page Title</title>
  </head>
  <body>
    <!--Your page content goes here-->
  </body>
</html>

The first two lines of code in the above example are not part of the Structure Module but are used to inform the document's parser that the document is XML and that the particular flavour of XML being used is XHTML 1.1. For more information, see XML Declaration & DOCTYPE.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Module Index (XHTML 1.1) > Structure Module (XHTML 1.1)