home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Komunik / amaya / 9x / amaya-Win98-6.2.exe / _SETUP.1 / 40styling.html < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-13  |  3.1 KB  |  73 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <title>Creating elements</title>
  7.   <meta name="GENERATOR" content="amaya 6.1, see http://www.w3.org/Amaya/" />
  8.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  9.   <style type="text/css">
  10.   </style>
  11.   <link href="../style.css" rel="stylesheet" type="text/css" />
  12. </head>
  13.  
  14. <body xml:lang="en" lang="en">
  15.  
  16. <table border="0" width="100%" summary="toc">
  17.   <tbody>
  18.     <tr>
  19.       <td><p><img border="0" alt="W3C" src="../../images/w3c_home" /> <img
  20.         border="0" alt="Amaya" src="../../images/amaya.gif" /></p>
  21.       </td>
  22.       <td><p align="right"><a href="inline.html"><img alt="previous"
  23.         border="0" src="../../images/left.gif" /></a> <a
  24.         href="../HTML.html"><img alt="top" border="0"
  25.         src="../../images/up.gif" /></a></p>
  26.       </td>
  27.     </tr>
  28.   </tbody>
  29. </table>
  30.  
  31. <div id="Character">
  32. <h1>Character style elements in HTML</h1>
  33.  
  34. <h2>What <strong>NOT</strong> to do and how it <strong>should</strong> be
  35. done...</h2>
  36.  
  37. <p>HTML 4.0 (Strict) includes some elements which provide character styles.
  38. These elements should be replaced by the use of structural elements or style
  39. sheets wherever possible.</p>
  40.  
  41. <p>All the elements in question except <code>PRE</code> are found in the
  42. <strong>Character Element</strong> submenu of the <strong>Style</strong>
  43. menu:</p>
  44. <dl>
  45.   <dt><code>B</code> and <code>I</code></dt>
  46.     <dd>These should be replaced by use of the <code></code><a
  47.       href="inline.html#Emphasis">STRONG and EM elements</a> where they are
  48.       used to provide emphasis for a word or phrase. There are <a
  49.       href="infoTypes.html">special elements</a> to denote headings, terms
  50.       that are being defined, and certain special uses, such as a quotation,
  51.       piece of computer code, etc. If the elements are simply being used to
  52.       provide heavier font <a href="../StyleSheets.html">style sheets</a>
  53.       should be used instead</dd>
  54.   <dt><code>BIG</code>and <code>SMALL</code></dt>
  55.     <dd>In general these effects should be achieved with <a
  56.       href="../StyleSheets.html">style sheets</a>. Where they are used to
  57.       denote specific types of information such as the source of a quotation,
  58.       sample computer input or output, etc, there are <a
  59.       href="inline.html">appropriate HTML elements</a> that should be
  60.     used.</dd>
  61.   <dt><code>SUB</code> and <code>SUP</code></dt>
  62.     <dd><a href="../StyleSheets.html">Style sheets</a> should be used to
  63.       achieve the presentation effects of these elements. In cases such as
  64.       mathematical expressions, an appropriate markup language such as <a
  65.       href="../Math.html">MathML</a> should be used where possible.</dd>
  66.   <dt><code>TT</code> and <code>PRE</code></dt>
  67.     <dd>Authors should use <a href="../StyleSheets.html">style sheets</a> to
  68.       achieve these effects.</dd>
  69. </dl>
  70. </div>
  71. </body>
  72. </html>
  73.