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