<?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;a&gt; Anchor Tag</a>
  <br/>
  <a href="#syntax" accesskey="2">Syntax</a>
  <br/>
  <a href="#attributes" accesskey="3">Attributes</a>
  <br/>
  <a href="#a-rels" accesskey="4">rel=</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;a&gt; placeholder link (anchor tag) in HTML 5</h2>
  <p>The &lt;a&gt; tag is used to define a hypertext link. </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;a&gt; tag</h3>
  <p align="left">
   <a href="#attributes">Next: Attributes</a>
   <br/>
   <a href="#reference">Prev: The &lt;a&gt; Anchor 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="#a-rels"/>
  </do>
  <!-- h3 -->
  <h3>Attributes of the &lt;a&gt; tag</h3>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">href attribute</p>
  <p align="left">
   <p>If the value of the href attribute is a URL, it may contain any of the following components: </p>
   <p align="left">2) </p>
   <p>If the protocol scheme, host name/IP address and port number are omitted the default is the current host - the same server handling the current document. If the path starts with a slash /..., it is an absolute path from the base of the current document, which defaults to the document root directory on the server. A URL with a "#" but no fragment identifier points to the top of the document. </p>
   <p align="left">&lt;a href="#"&gt;back to top&lt;/a&gt;&lt;a href="another-page.html"&gt;another page&lt;/a&gt;&lt;a href="/another-section/"&gt;another section&lt;/a&gt;&lt;a href="http://www.ExampleOnly.com/"&gt;Example Only&lt;/a&gt;</p>
  </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">id attribute</p>
  <p align="left">The id attribute </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">common attributes</p>
  <p align="left">In addition to the attributes above, which are specific to the &lt;a&gt; tag, any of the <a href="../../attributes/">common HTML attributes</a> can also be used. </p>
  <p align="left">
   <a href="#a-rels">Next: rel=</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="a-rels">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#examples"/>
  </do>
  <!-- h3 -->
  <h3>&lt;a&gt; tag relationships</h3>
  <p>The rel values for the &lt;a&gt; tag are: </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-alternate.wml">alternate</a>
  </p>
  <p align="left">Links to an alternate representation of the document. For example: </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-archives.wml">archives</a>
  </p>
  <p align="left">Links to previously created versions of related documents, such as the archives of a blog. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-author.wml">author</a>
  </p>
  <p align="left">Links to a document about the author of the document in which the link tag appears. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-bookmark.wml">bookmark</a>
  </p>
  <p align="left">Provides a permanent link to the document or a section within the document. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#contactNOTFOUND">contact</a>
  </p>
  <p align="left">Links to a document with contact information. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-external.wml">external</a>
  </p>
  <p align="left">Indicates that the link is to a resource on a different web site. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-feed.wml">feed</a>
  </p>
  <p align="left">Links to a syndicated feed channel for the document or the web site. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#first">first</a>
  </p>
  <p align="left">Links to the first document in a series of articles. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-help.wml">help</a>
  </p>
  <p align="left"/>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-index.wml">index</a>
  </p>
  <p align="left">Links to an index document or a table of contents for the collection of documents that includes the document in which the link tag appears. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#last">last</a>
  </p>
  <p align="left">Links to the last document in a series of articles. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-license.wml">license</a>
  </p>
  <p align="left">Links to a document that describes the copyright license that applies to the document(s) in which the link to the license page appears. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#next">next</a>
  </p>
  <p align="left">Links to the next document in sequence. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-nofollow.wml">nofollow</a>
  </p>
  <p align="left">Indicates to search engine crawlers and other robots that they should not follow the link to the referenced resource and process the document there. This can be used to indicate that the linked document should not be considered to be a recommended resource when determining the search engine rank for the linked page. This may help the page where the link appears from being penalized for "recommending" less desirable pages, such as for links to an affiliate site. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-noreferrer.wml">noreferrer</a>
  </p>
  <p align="left">Indicates that the user agent should not identify the referring page to the server handling the request for the target page. If this value is omitted or ignored, the URL of the page containing the link will most likely be included in the Referer[sic] header of the HTTP request for the referenced page. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#prev">prev</a>
  </p>
  <p align="left">Links to the previous document in the series. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-search.wml">search</a>
  </p>
  <p align="left">Links to a search page for the web site or a subset of documents that includes the document in which the search link appears. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-sidebar.wml">sidebar</a>
  </p>
  <p align="left">Indicates that the referenced document should be loaded into the web browser's sidebar if the link is activated by the user. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="rel-tag.wml">tag</a>
  </p>
  <p align="left">Specifies a URI that is a "tag", which describes the subject of a page. The tag may be a URL, which leads to a web-accessible page, or just a standalone identifier. </p>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left">
   <a href="#up">up</a>
  </p>
  <p align="left">Links to the document at the next higher level in a tree hierarchy. </p>
  <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 a tag in HTML 5</h3>
  <!-- h3 -->
  <h3>The &lt;a&gt; tag for HTTP hypertext links</h3>
  <p align="left">&lt;a href=""&gt;&lt;/a&gt;</p>
  <!-- h3 -->
  <h3>The &lt;a&gt; tag for other URI protocols</h3>
  <p align="left">&lt;a href="tel:+17775551234"&gt;Call Me at +1-777-555-1234&lt;/a&gt;</p>
  <p align="left">
   <a href="#differences">Next: Differences</a>
   <br/>
   <a href="#a-rels">Prev: rel=</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="differences">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="rel-alternate.wml#rel-alternate"/>
  </do>
  <!-- h3 -->
  <h3>What's new in HTML 5</h3>
  <!-- h3 -->
  <h3>Differences between HTML 5 and earlier versions</h3>
  <p>The media attribute has been added for consitency with the <a href="../link-tag/">&lt;link&gt; tag</a>
  </p>
  <p>The following attributes should <i>not</i> be coded on the &lt;script&gt; tag because they either have been deprecated or were never officially supported: </p>
  <p align="left"/>
  <p>In HTML 5, you can put the &lt;a&gt; tag around block elements in addition to inline elements. This means that links can appear where they couldn't before. For example, you can turn a whole <a href="../tr-tag/">HTML table row</a> into a link: </p>
  <p align="left">&lt;table&gt; &lt;tr&gt;&lt;td&gt;Label:&lt;/td&gt;&lt;td&gt;Data...&lt;/td&gt;&lt;/tr&gt; ... &lt;tr onclick="location=this.getElementsByTagName('a')[0]"&gt; &lt;a href="new-row.html"/&gt; &lt;td colspan="2"&gt;Add a Row&lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;</p>
  <p align="left">
   <a href="rel-alternate.wml#rel-alternate">Next: rel="alternate"</a>
   <br/>
   <a href="#examples">Prev: Examples</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>

