home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-Win98-8.7.3.exe / _SETUP.1 / lists.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-02-19  |  3.6 KB  |  88 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>Heading 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="headings.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> <a href="address.html"><img
  27.         alt="next" border="0" src="../../images/right.gif" /></a></p>
  28.       </td>
  29.     </tr>
  30.   </tbody>
  31. </table>
  32.  
  33. <div id="page_body">
  34. <h1>List elements</h1>
  35.  
  36. <p>There are three types of list in HTML. The two simple types are ordered
  37. and unordered lists, and there is also a definition list. Lists are
  38. block-type structures, but they can be created within other lists.</p>
  39.  
  40. <p>Example:</p>
  41. <dl>
  42.   <dt>Definition list</dt>
  43.     <dd>This is a definition list - it has definition terms (<code><a
  44.       href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DT">dt</a></code>)
  45.       and definitions (<code><a
  46.       href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DD">dd</a></code>)
  47.       as children.</dd>
  48.     <dd>One definition term can be followed by a number of deifintiions.</dd>
  49.   <dt>Ordered lists</dt>
  50.     <dd>There are three types of list
  51.       <ol>
  52.         <li>Ordered Lists (<code><a
  53.           href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-OL">ol</a></code>)</li>
  54.         <li>Unordered Lists (<code><a
  55.           href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-UL"
  56.           name="UL" id="UL">ul</a></code>)</li>
  57.         <li>Definition lists (<code><a
  58.           href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DL">dl</a></code>)</li>
  59.       </ol>
  60.     </dd>
  61.   <dt>Unordered Lists</dt>
  62.     <dd>Unordered lists and ordered lists share some characteristics:
  63.       <ul>
  64.         <li>Simple lists</li>
  65.         <li>Both types have children which are list items (<code><a
  66.           href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-LI">li</a></code>
  67.           elements)</li>
  68.       </ul>
  69.     </dd>
  70. </dl>
  71.  
  72. <p>The three types of list can all be created from the toolbar using the list
  73. buttons <img src="../../images/OList.gif" alt="Bulleted List" />, <img
  74. src="../../images/NumList.gif" alt="Numbered List" />, <img
  75. src="../../images/DL.gif" alt="Definition List" />. All types of list can be
  76. created from the <strong>XHTML</strong> menu, or using keyboard shortcuts.
  77. The default keyboard shortcuts for unix systems are <kbd>Ctrl h Ctrl l</kbd>
  78. for an ordered list, <kbd>Ctrl h Ctrl n</kbd> for an unordered list, and
  79. <kbd>Ctrl h Ctrl d</kbd> for a definition list.</p>
  80.  
  81. <p><a href="../StyleSheets.html">Style sheets</a> can be used to change the
  82. presentation of lists, including changing the style of list bullets or using
  83. an image as a bullet, and changing the style of text, for example using a
  84. different font for definition terms and the actual definitions.</p>
  85. </div>
  86. </body>
  87. </html>
  88.