home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / HTML-elements / 40styling.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  2.9 KB  |  70 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.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <title>Creating elements</title>
  8.   <meta name="GENERATOR" content="amaya 9.0.1, see http://www.w3.org/Amaya/"
  9.   />
  10.   <style type="text/css">
  11.  
  12.   </style>
  13.   <link href="../style.css" rel="stylesheet" type="text/css" />
  14. </head>
  15.  
  16. <body xml:lang="en" lang="en">
  17.  
  18. <div>
  19. <img border="0" alt="Amaya" src="../../../resources/icons/22x22/logo.png"
  20. />
  21. >
  22. <p class="nav"><a href="inline.html"><img alt="previous" border="0"
  23. src="../../../resources/icons/misc/left.png" /></a> <a
  24. href="../HTML.html"><img alt="top" border="0"
  25. src="../../../resources/icons/misc/up.png" /></a></p>
  26. </div>
  27.  
  28. <div id="page_body">
  29. <h1>Character style elements in HTML</h1>
  30.  
  31. <h2>What <strong>NOT</strong> to do and how it <strong>should</strong> be
  32. done...</h2>
  33.  
  34. <p>HTML 4.0 (Strict) includes some elements which provide character styles.
  35. These elements should be replaced by the use of structural elements or style
  36. sheets wherever possible.</p>
  37.  
  38. <p>All the elements in question except <code>PRE</code> are found in the
  39. <strong>Character Element</strong> submenu of the <strong>XHTML</strong>
  40. menu:</p>
  41. <dl>
  42.   <dt><code>b</code> and <code>i</code></dt>
  43.     <dd>These should be replaced by use of the <code></code><a
  44.       href="inline.html#Emphasis">strong and em elements</a> where they are
  45.       used to provide emphasis for a word or phrase. There are <a
  46.       href="infoTypes.html">special elements</a> to denote headings, terms
  47.       that are being defined, and certain special uses, such as a quotation,
  48.       piece of computer code, etc. If the elements are simply being used to
  49.       provide heavier font <a href="../StyleSheets.html">style sheets</a>
  50.       should be used instead</dd>
  51.   <dt><code>big</code> and <code>small</code></dt>
  52.     <dd>In general these effects should be achieved with <a
  53.       href="../StyleSheets.html">style sheets</a>. Where they are used to
  54.       denote specific types of information such as the source of a quotation,
  55.       sample computer input or output, etc, there are <a
  56.       href="inline.html">appropriate HTML elements</a> that should be
  57.     used.</dd>
  58.   <dt><code>sub</code> and <code>sup</code></dt>
  59.     <dd><a href="../StyleSheets.html">Style sheets</a> should be used to
  60.       achieve the presentation effects of these elements. In cases such as
  61.       mathematical expressions, an appropriate markup language such as <a
  62.       href="../Math.html">MathML</a> should be used where possible.</dd>
  63.   <dt><code>tt</code> and <code>pre</code></dt>
  64.     <dd>Authors should use <a href="../StyleSheets.html">style sheets</a> to
  65.       achieve these effects.</dd>
  66. </dl>
  67. </div>
  68. </body>
  69. </html>
  70.