<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="index"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#index"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="index">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#reference"/>
  </do>
  <a href="#reference" accesskey="1">The &lt;html&gt; Tag</a>
  <br/>
  <a href="#syntax" accesskey="2">Syntax</a>
  <br/>
  <a href="#attributes" accesskey="3">Attributes</a>
  <br/>
  <a href="#contents" accesskey="4">Contents of the &lt;html&gt; Tag</a>
  <br/>
  <a href="#examples" accesskey="5">Examples</a>
  <br/>
  <a href="#differences" accesskey="6">Differences</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="reference">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#syntax"/>
  </do>
  <!-- h2 -->
  <h2>The &lt;html&gt; tag in HTML 5</h2>
  <p>The &lt;html&gt; tag is the tag for the top element of an HTML document. The parent of the &lt;html&gt; tag is the <a href="../root-node/">root node</a> of the DOM. </p>
  <p align="left">
   <a href="#syntax">Next: Syntax</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="syntax">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#attributes"/>
  </do>
  <!-- h3 -->
  <h3>Syntax of the &lt;html&gt; tag</h3>
  <p align="left">
   <a href="#attributes">Next: Attributes</a>
   <br/>
   <a href="#reference">Prev: The &lt;html&gt; Tag</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="attributes">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#contents"/>
  </do>
  <!-- h3 -->
  <h3>Attributes of the &lt;html&gt; tag</h3>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left"> attribute</p>
  <p align="left">The  attribute </p>
  <p align="left">common attributes</p>
  <p align="left">In addition to the attributes above, which are specific to the &lt;html&gt; tag, any of the <a href="../../attributes/">common HTML attributes</a> can also be used. </p>
  <p align="left">
   <a href="#contents">Next: Contents of the &lt;html&gt; Tag</a>
   <br/>
   <a href="#syntax">Prev: Syntax</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="contents">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#examples"/>
  </do>
  <!-- h3 -->
  <h3>Contents of the &lt;html&gt; tag</h3>
  <p>The &lt;html&gt; element typically contains the following tags: </p>
  <p align="left"/>
  <p align="left">
   <a href="#examples">Next: Examples</a>
   <br/>
   <a href="#attributes">Prev: Attributes</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="examples">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#differences"/>
  </do>
  <!-- h3 -->
  <h3>Examples of the html tag in HTML 5</h3>
  <p>This is how the <b>&lt;html&gt; tag</b> should appear: </p>
  <p align="left">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE html&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;Example Only&lt;/title&gt; ... &lt;/head&gt; &lt;body&gt; ... &lt;/body&gt;&lt;/html&gt;</p>
  <p>The <b>&lt;html&gt; tag</b> should always include an <span class="outlined">xmlns</span> attribute, which specifies the namespace of the <b>HTML elements</b> in the document. See the <a href="#differences">Differences</a> below for more details. </p>
  <p align="left">
   <a href="#differences">Next: Differences</a>
   <br/>
   <a href="#contents">Prev: Contents of the &lt;html&gt; Tag</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="differences">
  <!-- h3 -->
  <h3>What's new in HTML 5</h3>
  <!-- h3 -->
  <h3>Differences between HTML 5 and earlier versions</h3>
  <p>In the 2000 W3C standard version of HTML (and HTML version 5) the <b>&lt;html&gt; tag</b> includes an <span class="outlined">xmlns</span> attribute, which specifies the namespace of the <b>HTML elements</b> in the document. Here is how the <b>&lt;html&gt; tag</b> should appear: </p>
  <p align="left">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE html&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; ...&lt;/html&gt;</p>
  <p>In addition to being required by the 2000 W3C standard, specifying the namespace for the elements in the document using the <span class="outlined">xmlns</span> attribute allows the documents, or a subset of nodes in the document, to be aggregated with other content. If the namespace for the elements is not specified, a reader of a combined documents created by an aggregator will be unable to distinguish the elements in one namespace from those in another. This is the biggest limitation of <b>RSS 0.92 version 2.0</b> although <b>RSS version 1.0</b> does use namespaces to solve the problem. </p>
  <p>The following attributes should <i>not</i> be coded on the &lt;html&gt; tag because they either have been deprecated or were never officially supported: </p>
  <p align="left"/>
  <p align="left">
   <a href="#examples">Prev: Examples</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>
