<?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="usage"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#usage"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="usage">
  <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="#html"/>
  </do>
  <a href="#html" accesskey="1">HTML</a>
  <br/>
  <a href="#vocabulary" accesskey="2">Vocabulary URI</a>
  <br/>
  <a href="#simple" accesskey="3">Simple XLink</a>
  <br/>
  <a href="#extended" accesskey="4">Extended XLink</a>
  <br/>
  <a href="#rdf" accesskey="5">RDF Metadata</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="html">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#vocabulary"/>
  </do>
  <!-- h1 -->
  <h1>HTML for ZIF Acronym</h1>
  <!-- h2 -->
  <h2>when ZIF means Zero Insertion Force</h2>
  <p>
   <span class="bold red">New!</span> Now updated with the inheritance rules for the <a href="http://www.HTML-5.com/attributes/title-attribute.html">title attribute</a> in <a href="http://www.HTML-5.com/">HTML 5</a>
  </p>
  <p>The easiest way to create HTML code indicating that the acronym <b>ZIF</b> stands for <b>Zero Insertion Force</b> is to simply include the acronym in an HTML &lt;a&gt; tag and an abbreviation tag (not an <a href="/acronym-tag.wml">acronym tag</a>):</p>
  <p align="left">&lt;a href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force" onclick="if (confirm('ZIF stands for Zero Insertion Force')) return false;"&gt; &lt;abbr&gt;ZIF&lt;/abbr&gt;&lt;/a&gt;</p>
  <p>This is the recommended code for both HTML 4 browsers and HTML 5 browsers. Some browsers, most notably IE, do not activate help when the title attribute is coded on the &lt;abbr&gt; tag, but they do work as expected for titles on the &lt;a&gt; tag. The &lt;abbr&gt; tag inherits its title attribute from the parent &lt;a&gt; tag.</p>
  <p>If you are creating HTML code for the definition of <b>Zero Insertion Force</b>, the meaning of the acronym ZIF, then include a <a href="http://www.HTML-5.com/tags/dfn-tag/">&lt;dfn&gt; definition tag</a> around the <a href="http://www.HTML-5.com/tags/abbr-tag/">&lt;abbr&gt; abbreviation tag</a> and follow the entire HTML code for the hypertext link with the definition of the term:</p>
  <p align="left">&lt;p&gt;A &lt;a href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force" onclick="if (confirm('ZIF stands for Zero Insertion Force')) return false;"&gt; &lt;dfn&gt;&lt;abbr title="Zero Insertion Force"&gt;ZIF&lt;/abbr&gt;&lt;/a&gt; is ...(definition of Zero Insertion Force)....&lt;/p&gt;</p>
  <p>The &lt;dfn&gt; tag gets the term being defined from the title attribute of the &lt;abbr&gt; tag. The result should look like this (hovering your mouse over the ZIF acronym shows the expanded meaning of the acronym):</p>
  <p>A <a href="/terms/z/Zero-Insertion-Force/">
    <!--??? no template for "{http://XMLStyles.com/namespaces/styles}dfn" ???-->
<!--??? no template for "{http://XMLStyles.com/namespaces/styles}abbr" ???-->
ZIF</a> is ...(definition of "Zero Insertion Force")....</p>
  <p>If you are creating HTML code that simply expands the acronym then indicate that it is the ZIF acronymn which is being defined using an HTML &lt;dfn&gt; tag with a title attribute around the &lt;abbr&gt; tag and follow the HTML for the hypertext link with the acronym definition:</p>
  <p align="left">&lt;p&gt;When we use the acronym &lt;a href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force" onclick="if (confirm('ZIF stands for Zero Insertion Force')) return false;"&gt; &lt;dfn title="ZIF"&gt;&lt;abbr title="Zero Insertion Force"&gt;ZIF&lt;/abbr&gt;&lt;/dfn&gt;&lt;/a&gt; it is the abbreviation for Zero Insertion Force.&lt;/p&gt;</p>
  <p>The result should look like this (hovering your mouse over the ZIF acronym shows the definition):</p>
  <p>When we use the acronym <a href="/terms/z/Zero-Insertion-Force/">
    <!--??? no template for "{http://XMLStyles.com/namespaces/styles}dfn" ???-->
<!--??? no template for "{http://XMLStyles.com/namespaces/styles}abbr" ???-->
ZIF</a> it is the abbreviation for Zero Insertion Force.</p>
  <p align="left">
   <a href="#vocabulary">Next: Vocabulary URI</a>
   <br/>
   <a href="#usage">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="vocabulary">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#simple"/>
  </do>
  <!-- h1 -->
  <h1>Acronym Vocabulary URI Declaration</h1>
  <p>For the remaining examples, the Acronym Vocabulary namespace URI needs to be declared for use with element tag names and attribute values. For an HTML web page, the beginning of the file should look like this:</p>
  <p align="left">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE html [ &lt;!ENTITY at "http://Acronyms.net/terms/"&gt; &lt;!ENTITY av "http://Acronyms.net/vocabulary/"&gt;]&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:av="&amp;av;"&gt; &lt;head&gt; &lt;style type="text/css"&gt; .hide { display: none } &lt;/style&gt; ...</p>
  <p>This only needs to be done once per document file.</p>
  <p align="left">
   <a href="#simple">Next: Simple XLink</a>
   <br/>
   <a href="#html">Prev: HTML</a>
   <br/>
   <a href="#usage">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="simple">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#extended"/>
  </do>
  <!-- h1 -->
  <h1>XLink simple link</h1>
  <p>First, <a href="#vocabulary">declare the vocabulary</a> as shown above. Then, add acronyms as follows:</p>
  <p align="left">&lt;a href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force" xlink:type="simple" xlink:href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" xlink:arcrole="&amp;av;definedAt" xlink:role="&amp;av;definition" xlink:title="Zero Insertion Force" xlink:show="new" xlink:actuate="onRequest"&gt; &lt;abbr xlink:type="simple" xlink:href="&amp;at;Zero-Insertion-Force" xlink:arcrole="&amp;av;standsFor" xlink:role="&amp;av;term" xlink:title="ZIF - Zero Insertion Force" xlink:show="new" xlink:actuate="onRequest" &gt;ZIF&lt;/abbr&gt;&lt;/dfn&gt;&lt;/a&gt;</p>
  <p align="left">
   <a href="#extended">Next: Extended XLink</a>
   <br/>
   <a href="#vocabulary">Prev: Vocabulary URI</a>
   <br/>
   <a href="#usage">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="extended">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#rdf"/>
  </do>
  <!-- h1 -->
  <h1>XLink extended link</h1>
  <p>First, <a href="#vocabulary">declare the vocabulary</a> as shown above. Then, add acronyms as follows:</p>
  <p align="left">&lt;a xlink:type="extended" href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force"&gt; &lt;abbr xlink:type="resource" xlink:label="acronym"&gt;ZIF&lt;/abbr&gt; &lt;span class="hide" xlink:type="resource" xlink:label="verbal" xlink:title="pronunciation"&gt;z i f&lt;/span&gt; &lt;span class="hide" xlink:type="resource" xlink:label="expand" xlink:title="expansion"&gt;Zero Insertion Force&lt;/span&gt; &lt;span class="hide" xlink:type="locator" xlink:label="term" xlink:role="&amp;av;term" xlink:href="&amp;at;Zero-Insertion-Force" xlink:title="Zero Insertion Force"/&gt; &lt;span class="hide" xlink:type="locator" xlink:label="definition" xlink:role="&amp;av;definition" xlink:href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" xlink:title="Zero Insertion Force"/&gt; &lt;span class="hide" xlink:type="locator" xlink:label="finder" xlink:role="&amp;av;reference" xlink:href="http://www.Acronyms.net/reference/z/ZIF#Zero-Insertion-Force" xlink:title="ZIF - Zero Insertion Force"/&gt; &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;pronounceAs" xlink:to="verbal" xlink:actuate="onLoad"/&gt; &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;expandsTo" xlink:to="expand"/&gt; &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;standsFor" xlink:to="term"/&gt; &lt;span class="hide" xlink:type="arc" xlink:from="term" xlink:arcrole="&amp;av;definedAt" xlink:to="definition" xlink:show="new" xlink:actuate="onRequest"/&gt; &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;foundAt" xlink:to="finder" xlink:show="new" xlink:actuate="onRequest"/&gt;&lt;/a&gt;</p>
  <p align="left">
   <a href="#rdf">Next: RDF Metadata</a>
   <br/>
   <a href="#simple">Prev: Simple XLink</a>
   <br/>
   <a href="#usage">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="rdf">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="uriref.wml#urirefs"/>
  </do>
  <!-- h1 -->
  <h1>embedded RDF metadata</h1>
  <p>First, <a href="#vocabulary">declare the vocabulary</a> as shown above. Then, add acronyms as follows:</p>
  <p align="left">&lt;a href="http://www.Acronyms.net/terms/z/Zero-Insertion-Force/" title="Zero Insertion Force"&gt; &lt;abbr&gt;ZIF&lt;/abbr&gt;&lt;/a&gt;</p>
  <p align="left">
   <a href="uriref.wml#urirefs">Next: Page 6</a>
   <br/>
   <a href="#extended">Prev: Extended XLink</a>
   <br/>
   <a href="#usage">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>
