The XHTML menu enables you to create only elements that
are part of the document <body>
. To create elements in the
document HEAD
, use the Structure submenu from
the Structure view. This menu works in the same way: put the cursor at the
desired position and choose the element type from the
Structure submenu.
The Structure submenu 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.
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.