# The Enter (or Return) Key

When you are writing a new document or a new part in a document, you can create elements sequentially by pressing the Enter (or Return) key. The current element is terminated and a new one is created immediately after.

Most often, the new element created is simply a paragraph, whatever the type of the previous element. You can change the element type by selecting the desired type from the XHTML menu or by clicking the corresponding button.

When a `<pre>` formatted element is at the end of the document and the cursor is at the end of that element, hitting the Enter key creates a new line in the `<pre>`. To create another element, say a paragraph, after the <pre>, you have to select the whole `<pre>` element with the `F2` key and to press Enter.

In the same way, you can create a new paragraph after the table by selecting the whole table and pressing Enter.

When a whole element like `<h2>` or `<li>` is selected the Enter key creates a new `<h2>` or `<li>` after.

## See Also:

- Creating Nested Structures
- Creating Elements