# Structure Menu

The Types menu enables you to create only elements that are part of the document `<BODY>`. To create elements in the document `HEAD`, use the Structure menu from the Structure view. This menu works in the same way as the Types menu: put the cursor at the desired position and choose the element type from the Structure menu.

The Structure menu also enables you to create comments, using Comments. Comments are shown only in the Structure view, but they can be inserted at any position in the document.

## Generated elements

Some HTML elements are constituted by several other elements of different types. For instance, a table usually contains a caption (`CAPTION`), several rows (`TR`), and several cells (`TD` or `TH`) in each row.

When Amaya creates such elements, it also creates their components. A table is created with a caption and a row containing a single cell. The insertion point is placed automatically in the first of these components. You can enter the content of that component immediately or later. You can move to the next (empty) component with the mouse or with the arrow keys.

## See Also

- Creating New Documents
- Buttons and Types Menu
- The Structure Menu
- Information types in HTML