1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en-us>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>ABBR - Abbreviation</title>
<link rev=Made href="mailto:liam@htmlhelp.com">
<link rel=Start href="../index.html">
<link rel=StyleSheet href="../style.css" type="text/css">
<link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
<meta name="author" content="Liam Quinn">
<meta name="description" content="A description of HTML 4.0's ABBR element for abbreviations.">
<meta name="keywords" content="abbr element, abbreviation, abbreviations, abbrev element, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG, <abbr> tag">
</head>
<body>
<h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
<h1>ABBR - Abbreviation</h1>
<table>
<tr valign=top>
<th>Syntax</th>
<td><strong class=required><ABBR></strong>...<strong class=required></ABBR></strong></td>
</tr>
<tr valign=top>
<th>Attribute Specifications</th>
<td>
<ul>
<li><a href="../attrs.html">common attributes</a></li>
</ul>
</td>
</tr>
<tr valign=top>
<th>Contents</th>
<td><a href="../inline.html">Inline elements</a></td>
</tr>
<tr valign=top>
<th>Contained in</th>
<td><a href="../inline.html">Inline elements</a>, <a href="../block.html">block-level elements</a></td>
</tr>
</table>
<p>The <strong class=html>ABBR</strong> element is used to markup <em>abbreviations</em>. The <strong class=html><a href="../attrs.html#title">TITLE</a></strong> attribute is useful in conjunction with <strong class=html>ABBR</strong> to give the long form of the abbreviation, allowing visual browsers to provide the long form as a "tooltip". If the short form is a pronounceable word, the <strong class=html><a href="acronym.html">ACRONYM</a></strong> element should be used instead of <strong class=html>ABBR</strong>.</p>
<p>Examples:</p>
<ul class=example>
<li><code class=html><ABBR TITLE="United Nations">U.N.</ABBR></code></li>
<li><code class=html>He weighs 180 <ABBR TITLE=pounds>lbs.</ABBR></code></li>
<li><code class=html><ABBR TITLE="Parti Qubcois" LANG=fr-CA>PQ</ABBR></code></li>
<li><code class=html><ACRONYM TITLE="North Atlantic Treaty Organization">NATO</ACRONYM></code></li>
</ul>
<p>Some short forms, such as "<abbr class=initialism title="Structured Query Language">SQL</abbr>" and "<abbr class=initialism title="Uniform Resource Locator">URL</abbr>," are pronounced as words by some but pronounced letter-by-letter by others. In such cases, the <strong class=html>ABBR</strong> element should be favored over <strong class=html><a href="acronym.html">ACRONYM</a></strong>. A style sheet could be used to suggest the aural rendering. For example, one could use</p>
<p class=example><code class=html><ABBR TITLE="Uniform Resource Locator">URL</ABBR></code></p>
<p>with the following <a href="http://www.w3.org/TR/REC-CSS2/">CSS2</a> style sheet:</p>
<p class=example><code class=css>abbr[title="Uniform Resource Locator"] { <a href="http://www.w3.org/TR/REC-CSS2/aural.html#propdef-speak">speak</a>: spell-out }</code></p>
<h2>More Information</h2>
<ul>
<li><a href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-ABBR">ABBR in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTML4.0 Recommendation</a></li>
</ul>
<div class=footer>
<address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>
<p class=toolbar><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"> <a href="../index.html" rel=Start>HTML4.0Reference</a>~ <a href="../olist.html">ElementsbyFunction</a>~ <a href="../alist.html">ElementsAlphabetically</a></p>
<p class=copyright>Copyright © 1998 by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a>. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at <a href="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</a>).</p>
</div>
</body>
</html>
|