home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 133 / dpcs0399.iso / INTERNET / COFFEE / HTMLED55 / SETUP.EXE / file0213.bin < prev    next >
Encoding:
Text File  |  1998-11-04  |  4.5 KB  |  69 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
  2.    "http://www.w3.org/TR/REC-html40/strict.dtd">
  3. <html lang=en>
  4. <head>
  5. <title>SMALL - Small Font</title>
  6. <link rev=Made href="mailto:liam@htmlhelp.com">
  7. <link rel=Start href="../index.html">
  8. <link rel=Glossary href="http://www.htmlhelp.com/glossary/glossary.html">
  9. <link rel=Copyright href="http://www.htmlhelp.com/copyright.html">
  10. <link rel=StyleSheet href="../style.css" type="text/css">
  11. <link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
  12. <meta name="author" content="Liam Quinn">
  13. <meta name="description" content="A description of HTML 4.0's SMALL element for small text.">
  14. <meta name="keywords" content="small element, small font, small text, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG, <small> tag">
  15. </head>
  16. <body>
  17. <h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
  18. <h1>SMALL - Small Font</h1>
  19. <table>
  20.   <tr valign=top>
  21.     <th>Syntax</th>
  22.     <td><strong class=required><SMALL></strong>...<strong class=required></SMALL></strong></td>
  23.   </tr>
  24.   <tr valign=top>
  25.     <th>Attribute Specifications</th>
  26.     <td>
  27.       <ul>
  28.         <li><a href="../attrs.html">common attributes</a></li>
  29.       </ul>
  30.     </td>
  31.   </tr>
  32.   <tr valign=top>
  33.     <th>Contents</th>
  34.     <td><a href="../inline.html">Inline elements</a></td>
  35.   </tr>
  36.   <tr valign=top>
  37.     <th>Contained in</th>
  38.     <td><a href="../inline.html">Inline elements</a>, <a href="../block.html">block-level elements</a> except <a href="../block/pre.html">PRE</a></td>
  39.   </tr>
  40. </table>
  41. <p>The <strong class=html>SMALL</strong> element suggests that text be rendered in a <em>smaller font</em>. Since HTMLá4.0 has no element to indicate de-emphasis, <strong class=html>SMALL</strong> is often useful for this purpose. For example:</p>
  42. <p class=example><code class=html><P><SMALL>Copyright ⌐ 1998 Liam Quinn. All rights reserved.</SMALL></P></code></p>
  43. <p class=note>Most browsers support nested <strong class=html>SMALL</strong> elements, but this practice should be avoided. Since different users have different font sizes and eyesight, significant changes in font size can leave text too small to read even though it may look fine to the author.</p>
  44. <p>Using <a href="http://www.htmlhelp.com/reference/css/">style sheets</a> in place of <strong class=html>SMALL</strong> provides greater flexibility in changing the presentation. The previous example could also be marked up as follows:</p>
  45. <p class=example><code class=html><P CLASS=copyright>Copyright ⌐ 1998 Liam Quinn. All rights reserved.</P></code></p>
  46. <p>This could then be <a href="http://www.htmlhelp.com/reference/css/style-html.html">linked</a> to the following style sheet:</p>
  47. <pre class=example><code class=css>.copyright {
  48.   <a href="http://www.htmlhelp.com/reference/css/font/font-size.html">font-size</a>: smaller;
  49.   <a href="http://www.htmlhelp.com/reference/css/text/text-align.html">text-align</a>: center
  50. }
  51.  
  52. <a href="http://www.w3.org/TR/PR-CSS2/media.html#at-media-rule">@media</a> aural {
  53.   .copyright { <a href="http://www.w3.org/TR/PR-CSS2/aural.html#propdef-volume">volume</a>: soft }
  54. }</code></pre>
  55. <h2>More Information</h2>
  56. <ul>
  57.   <li><a href="http://www.w3.org/TR/REC-html40/present/graphics.html#edef-SMALL">SMALL in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá4.0 Recommendation</a></li>
  58.   <li><a href="http://www.w3.org/TR/REC-html32#font-style">SMALL in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá3.2 Recommendation</a></li>
  59.   <li><a href="http://www.htmlhelp.com/reference/wilbur/font/small.html">SMALL in <abbr class=initialism title="Web Design Group">WDG</abbr> HTMLá3.2 Reference</a></li>
  60.   <li><a href="http://www.hut.fi/u/jkorpela/HTML3.2/5.48.html">SMALL in <cite>Learning HTMLá3.2 by Examples</cite></a></li>
  61. </ul>
  62. <div class=footer>
  63. <address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>
  64. <p class=toolbar><a href="http://www.htmlhelp.com/"><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"></a> <a href="../index.html" rel=Start>HTMLá4.0áReference</a>á~ <a href="../olist.html">ElementsábyáFunction</a>á~ <a href="../alist.html">ElementsáAlphabetically</a></p>
  65. <p class=copyright><a href="http://www.htmlhelp.com/copyright.html">Copyright ⌐</a> 1998 Liam Quinn. All rights reserved.</p>
  66. </div>
  67. </body>
  68. </html>
  69.