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 / the_enter_key.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-01-06  |  2.6 KB  |  68 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.   <meta name="generator" content="amaya 8.2+, see http://www.w3.org/Amaya/" />
  8.   <title>The Enter (or Return) Key</title>
  9.   <style type="text/css">
  10.  
  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. <table border="0" width="100%" summary="toc">
  19.   <tbody>
  20.     <tr>
  21.       <td><img alt="W3C" src="../../images/w3c_home" /> <img alt="Amaya"
  22.         src="../../images/amaya.gif" /></td>
  23.       <td><p align="right"><a href="the_structure_menu.html"
  24.         accesskey="p"><img alt="previous" src="../../images/left.gif" /></a>
  25.         <a href="../Creating.html" accesskey="t"><img alt="top"
  26.         src="../../images/up.gif" /></a> <a href="exiting_anchors.html"
  27.         accesskey="n"><img alt="next" src="../../images/right.gif" /></a></p>
  28.       </td>
  29.     </tr>
  30.   </tbody>
  31. </table>
  32.  
  33. <div id="page_body">
  34. <h1>The Enter (or Return) Key</h1>
  35.  
  36. <p>When you are writing a new document or a new part in a document, you can
  37. create elements sequentially by pressing the <strong>Enter</strong> (or
  38. <strong>Return</strong>) key. The current element is terminated and a new one
  39. is created immediately after.</p>
  40.  
  41. <p>Most often, the new element created is simply a paragraph, whatever the
  42. type of the previous element. You can change the element type by selecting
  43. the desired type from the <strong>XHTML</strong> menu or by clicking the
  44. corresponding button.</p>
  45.  
  46. <p>When a <code><pre></code> formatted element is at the end of the
  47. document and the cursor is at the end of that element, hitting the Enter key
  48. creates a new line in the <code><pre></code>. To create another
  49. element, say a paragraph, after the <pre>, you have to select the whole
  50. <code><pre></code> element with the <kbd>F2</kbd> key and to press Enter.</p>
  51.  
  52. <p>In the same way, you can create a new paragraph after the table by
  53. selecting the whole table and pressing Enter.</p>
  54.  
  55. <p>When a whole element like <code><h2></code> or
  56. <code><li></code> is selected the Enter key creates a new
  57. <code><h2></code> or <code><li></code> after.</p>
  58.  
  59. <h2>See Also:</h2>
  60. <ul>
  61.   <li><a href="creating_nested_structures.html">Creating Nested
  62.   Structures</a></li>
  63.   <li><a href="../Creating.html">Creating Elements</a></li>
  64. </ul>
  65. </div>
  66. </body>
  67. </html>
  68.