<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/styles/XMLStylesDoc_xhtml10_en.xsl"?><!DOCTYPE document SYSTEM "/schemas/XMLStyles10.dtd">
<document xmlns="http://XMLStyles.com/namespaces/styles" xmlns:xst="http://XMLStyles.com/namespaces/styles" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
   <noxml>
      <p xmlns="http://www.w3.org/1999/xhtml"/>
      <!-- You are viewing the source.  The following message should be ignored if you did "View Source" in your browser. -->
      <p xmlns="http://www.w3.org/1999/xhtml">
ATTENTION: XML WEB PAGES NOT SUPPORTED
   If you see this message, your current browser does not support the
   1999 XSLT 1.0 (or later) standard for XML web pages such as this one.
   Please upgrade your browser to a newer version
   that supports 1999 or later standards such as:
      Mozilla Firefox version 1.0.2 or later (GetFirefox -&gt; http://www.GetFirefox.com/)
      Netscape version 8 or later
      Safari version 1.3 or later
      Opera version 9 or later
      Microsoft Internet Explorer (MSIE) version 5 or later
   For further assistance, contact the software vendor for your browser.
   To go to the X<!-- extended HTML -->HTML version of this page click the following link:
<a href="index.html">index.html</a>
      </p>
      <p xmlns="http://www.w3.org/1999/xhtml">&#160;</p>
   </noxml>
   <path>/terms/b/Binary-Coded-Decimal/</path>
   <site>Acronyms .net</site>
   <logo xlink:type="simple" xlink:href="/images/acronymshome.jpg" media="screen" width="215" height="42">Acronyms .net</logo>
   <logo xlink:type="simple" xlink:href="/images/acronyms.jpg" media="print" width="215" height="33">Acronyms .net</logo>
   <logo xlink:type="simple" xlink:href="/images/acronymsmobile.jpg" media="handheld" width="150" height="23">Acronyms</logo>
   <navigation where="sections">
      <label>Acronyms</label>
      <link xlink:type="simple" xlink:href="/finder.xml">Acronym Finder</link>
      <link xlink:type="simple" xlink:href="/dictionary.xml">Acronyms</link>
      <link xlink:type="simple" xlink:href="/terms/index.xml">Terms</link>
      <link xlink:type="simple" xlink:href="/keywords.xml">Keywords</link>
      <link xlink:type="simple" xlink:href="/about.xml">About</link>
      <link xlink:type="simple" xlink:href="/about.xml#usage">Usage</link>
      <link xlink:type="simple" xlink:href="/links.xml">Links</link>
   </navigation>
   <section type="body">
      <title>Binary Coded Decimal</title>
      <pages name="index">
         <navigation where="pages">
            <label>index</label>
            <link xlink:type="simple" xlink:href="index.xml">Acronym</link>
            <link xlink:type="simple" xlink:href="usage.xml">Usage</link>
            <link xlink:type="simple" xlink:href="uriref.xml">URIRef</link>
         </navigation>
         <navigation where="up">
            <link xlink:type="simple" xlink:href="../../index.xml">Index of Terms</link>
            <link xlink:type="simple" xlink:href="../index.xml">Terms starting with "B"</link>
         </navigation>
         <navigation where="subsections">
            <link xlink:type="simple" xlink:href="/terms/index.xml">Index</link>
            <link xlink:type="simple" xlink:href="/terms/special/index.xml">Spec. Chars</link>
            <link xlink:type="simple" xlink:href="/terms/numeric/index.xml">Numbers</link>
            <link xlink:type="simple" xlink:href="/terms/a/index.xml">A</link>
            <link xlink:type="simple" xlink:href="/terms/b/index.xml">B</link>
            <link xlink:type="simple" xlink:href="/terms/c/index.xml">C</link>
            <link xlink:type="simple" xlink:href="/terms/d/index.xml">D</link>
            <link xlink:type="simple" xlink:href="/terms/e/index.xml">E</link>
            <link xlink:type="simple" xlink:href="/terms/f/index.xml">F</link>
            <link xlink:type="simple" xlink:href="/terms/g/index.xml">G</link>
            <link xlink:type="simple" xlink:href="/terms/h/index.xml">H</link>
            <link xlink:type="simple" xlink:href="/terms/i/index.xml">I</link>
            <link xlink:type="simple" xlink:href="/terms/j/index.xml">J</link>
            <link xlink:type="simple" xlink:href="/terms/k/index.xml">K</link>
            <link xlink:type="simple" xlink:href="/terms/l/index.xml">L</link>
            <link xlink:type="simple" xlink:href="/terms/m/index.xml">M</link>
            <link xlink:type="simple" xlink:href="/terms/n/index.xml">N</link>
            <link xlink:type="simple" xlink:href="/terms/o/index.xml">O</link>
            <link xlink:type="simple" xlink:href="/terms/p/index.xml">P</link>
            <link xlink:type="simple" xlink:href="/terms/q/index.xml">Q</link>
            <link xlink:type="simple" xlink:href="/terms/r/index.xml">R</link>
            <link xlink:type="simple" xlink:href="/terms/s/index.xml">S</link>
            <link xlink:type="simple" xlink:href="/terms/t/index.xml">T</link>
            <link xlink:type="simple" xlink:href="/terms/u/index.xml">U</link>
            <link xlink:type="simple" xlink:href="/terms/v/index.xml">V</link>
            <link xlink:type="simple" xlink:href="/terms/w/index.xml">W</link>
            <link xlink:type="simple" xlink:href="/terms/x/index.xml">X</link>
            <link xlink:type="simple" xlink:href="/terms/y/index.xml">Y</link>
            <link xlink:type="simple" xlink:href="/terms/z/index.xml">Z</link>
         </navigation>
         <page id="usage" name="usage">
            <comment>com.siteedit.content.AcronymTermsModule currentPage usage</comment>
            <title>Binary Coded Decimal Usage</title>
            <label>Usage</label>
            <navigation where="up">
               <link xlink:type="simple" xlink:href="index.xml">Binary Coded Decimal Acronym</link>
            </navigation>
            <subpage id="html" name="html">
               <label>HTML</label>
               <h1>HTML for BCD Acronym</h1>
               <h2>when BCD means Binary Coded Decimal</h2>
               <p>
                  <span class="bold red">New!</span> Now updated with the inheritance rules for the <link xlink:type="simple" xlink:href="http://www.HTML-5.com/attributes/#title">title attribute</link> in <link xlink:type="simple" xlink:href="http://www.HTML-5.com/">HTML 5</link>
               </p>
               <p>The easiest way to create HTML code indicating that the acronym <b>BCD</b> stands for <b>Binary Coded Decimal</b> is to simply include the acronym in an HTML &lt;a&gt; tag and an abbreviation tag (not an <link xlink:type="simple" xlink:href="/acronym-tag.xml">acronym tag</link>):</p>
               <blockcode>
                  <l>&lt;a href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"</l>
                  <l>   onclick="if (confirm('BCD stands for Binary Coded Decimal')) return false;"</l>
                  <l>&gt;</l>
                  <l>   &lt;abbr&gt;BCD&lt;/abbr&gt;</l>
                  <l>&lt;/a&gt;</l>
               </blockcode>
               <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>Binary Coded Decimal</b>, the meaning of the acronym BCD, then include a <link xlink:type="simple" xlink:href="http://www.HTML-5.com/tags/dfn-tag/">&lt;dfn&gt; definition tag</link> around the <link xlink:type="simple" xlink:href="http://www.HTML-5.com/tags/abbr-tag/">&lt;abbr&gt; abbreviation tag</link> and follow the entire HTML code for the hypertext link with the definition of the term:</p>
               <blockcode>
                  <l>&lt;p&gt;A &lt;a href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"</l>
                  <l>   onclick="if (confirm('BCD stands for Binary Coded Decimal')) return false;"</l>
                  <l>&gt;</l>
                  <l>   &lt;dfn&gt;&lt;abbr title="Binary Coded Decimal"&gt;BCD&lt;/abbr&gt;</l>
                  <l>&lt;/a&gt; is ...(definition of Binary Coded Decimal)....&lt;/p&gt;</l>
               </blockcode>
               <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 BCD acronym shows the expanded meaning of the acronym):</p>
               <p class="greenbg">A <link onclick="confirm('BCD stands for Binary Coded Decimal'); return false;" xlink:type="simple" xlink:href="/terms/b/Binary-Coded-Decimal/" xlink:title="Binary Coded Decimal">
                     <dfn>
                        <abbr title="Binary Coded Decimal">BCD</abbr>
                     </dfn>
                  </link> is ...(definition of "Binary Coded Decimal")....</p>
               <p>If you are creating HTML code that simply expands the acronym then indicate that it is the BCD 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>
               <blockcode>
                  <l>&lt;p&gt;When we use the acronym &lt;a href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"</l>
                  <l>   onclick="if (confirm('BCD stands for Binary Coded Decimal')) return false;"</l>
                  <l>&gt;</l>
                  <l>   &lt;dfn title="BCD"&gt;&lt;abbr title="Binary Coded Decimal"&gt;BCD&lt;/abbr&gt;&lt;/dfn&gt;</l>
                  <l>&lt;/a&gt; it is the abbreviation for Binary Coded Decimal.&lt;/p&gt;</l>
               </blockcode>
               <p>The result should look like this (hovering your mouse over the BCD acronym shows the definition):</p>
               <p class="greenbg">When we use the acronym <link onclick="confirm('BCD stands for Binary Coded Decimal'); return false;" xlink:type="simple" xlink:href="/terms/b/Binary-Coded-Decimal/" xlink:title="Binary Coded Decimal">
                     <dfn title="BCD">
                        <abbr title="Binary Coded Decimal">BCD</abbr>
                     </dfn>
                  </link> it is the abbreviation for Binary Coded Decimal.</p>
            </subpage>
            <subpage id="vocabulary" name="vocabulary">
               <label>Vocabulary URI</label>
               <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>
               <blockcode>
                  <l>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</l>
                  <l>&lt;!DOCTYPE html [</l>
                  <l>   &lt;!ENTITY at "http://Acronyms.net/terms/"&gt;</l>
                  <l>   &lt;!ENTITY av "http://Acronyms.net/vocabulary/"&gt;</l>
                  <l>]&gt;</l>
                  <l>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:av="&amp;av;"&gt;</l>
                  <l>   &lt;head&gt;</l>
                  <l>      &lt;style type="text/css"&gt;</l>
                  <l>         .hide { display: none }</l>
                  <l>      &lt;/style&gt;</l>
                  <l>      ...</l>
               </blockcode>
               <p>This only needs to be done once per document file.</p>
            </subpage>
            <subpage id="simple" name="simple">
               <label>Simple XLink</label>
               <h1>XLink simple link</h1>
               <p>First, <link xlink:type="simple" xlink:href="#vocabulary">declare the vocabulary</link> as shown above. Then, add acronyms as follows:</p>
               <blockcode>
                  <l>&lt;a href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"</l>
                  <l>   xlink:type="simple"</l>
                  <l>   xlink:href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/"</l>
                  <l>   xlink:arcrole="&amp;av;definedAt"</l>
                  <l>   xlink:role="&amp;av;definition"</l>
                  <l>   xlink:title="Binary Coded Decimal"</l>
                  <l>   xlink:show="new"</l>
                  <l>   xlink:actuate="onRequest"</l>
                  <l>&gt;</l>
                  <l>   &lt;abbr</l>
                  <l>      xlink:type="simple"</l>
                  <l>      xlink:href="&amp;at;Binary-Coded-Decimal"</l>
                  <l>      xlink:arcrole="&amp;av;standsFor"</l>
                  <l>      xlink:role="&amp;av;term"</l>
                  <l>      xlink:title="BCD - Binary Coded Decimal"</l>
                  <l>      xlink:show="new"</l>
                  <l>      xlink:actuate="onRequest"</l>
                  <l>   &gt;BCD&lt;/abbr&gt;&lt;/dfn&gt;</l>
                  <l>&lt;/a&gt;</l>
               </blockcode>
            </subpage>
            <subpage id="extended" name="extended">
               <label>Extended XLink</label>
               <h1>XLink extended link</h1>
               <p>First, <link xlink:type="simple" xlink:href="#vocabulary">declare the vocabulary</link> as shown above. Then, add acronyms as follows:</p>
               <blockcode>
                  <l>&lt;a xlink:type="extended" href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"&gt;</l>
                  <l>   &lt;abbr xlink:type="resource" xlink:label="acronym"&gt;BCD&lt;/abbr&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="resource" xlink:label="verbal" xlink:title="pronunciation"&gt;b c d&lt;/span&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="resource" xlink:label="expand" xlink:title="expansion"&gt;Binary Coded Decimal&lt;/span&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="locator" xlink:label="term" xlink:role="&amp;av;term" xlink:href="&amp;at;Binary-Coded-Decimal" xlink:title="Binary Coded Decimal"/&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="locator" xlink:label="definition" xlink:role="&amp;av;definition" xlink:href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" xlink:title="Binary Coded Decimal"/&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="locator" xlink:label="finder" xlink:role="&amp;av;reference" xlink:href="http://www.Acronyms.net/reference/b/BCD#Binary-Coded-Decimal" xlink:title="BCD - Binary Coded Decimal"/&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;pronounceAs" xlink:to="verbal" xlink:actuate="onLoad"/&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;expandsTo" xlink:to="expand"/&gt;</l>
                  <l>   &lt;span class="hide" xlink:type="arc" xlink:from="acronym" xlink:arcrole="&amp;av;standsFor" xlink:to="term"/&gt;</l>
                  <l>   &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;</l>
                  <l>   &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;</l>
                  <l>&lt;/a&gt;</l>
               </blockcode>
            </subpage>
            <subpage id="rdf" name="rdf">
               <label>RDF Metadata</label>
               <h1>embedded RDF metadata</h1>
               <p>First, <link xlink:type="simple" xlink:href="#vocabulary">declare the vocabulary</link> as shown above. Then, add acronyms as follows:</p>
               <blockcode>
                  <l>&lt;a href="http://www.Acronyms.net/terms/b/Binary-Coded-Decimal/" title="Binary Coded Decimal"&gt;</l>
                  <l>   &lt;abbr&gt;BCD&lt;/abbr&gt;</l>
                  <l>&lt;/a&gt;</l>
               </blockcode>
            </subpage>
         </page>
         <updated local="2009-03-13" millis="1236916800000">Friday March 13, 2009</updated>
      </pages>
   </section>
   <copyright>Copyright © 2010 Acronyms .net. All rights reserved. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.</copyright>
   <disclaimer>All information, links, forms, applications and any other items on this site are provided <b>AS IS</b>, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</disclaimer>
   <ids urchin="UA-779578-4"/>
</document>
