W3C Amaya

previous top next

Editing tables

There is no separate table editor in Amaya. A table is simply a structure described by the HTML DTD and it is edited as such. The same commands apply to tables as to other HTML structures.

Tables can be created very efficiently with the Return key. Create a one-cell table with the table button or the Table entry from the Types menu. The space above the table is reserved for the caption. Move the insertion point to the new cell. Type in the content of that cell ("Cell 1.1" in the example below). Create a second cell by hitting the Return key twice (the first hit creates a paragraph in the first cell). To create a new row, press Return three times. To create a new tbody, press Return four times, etc.

Caption
Cell 1.1 Cell 1.2
Cell 2.1

When you have built the previous table by creating 3 cells, Amaya have had automatically generated an empty cell (future Cell 2.2). You can click on it and insert text. You can also move to this empty cell by using arrow keys. When the selection is at the end of the text "Cell 2.1", you can create a new column between Cell 2.1 and the empty cell by pressing Return key twice.

There is no specific command to create or delete a column. When you create a new cell, Amaya generates a new column and when you delete a cell in a column that becomes empty, Amaya deletes the column.

Note that the table model implemented in Amaya is the HTML 4.0 model. This includes features such as multiple bodies (tbody), header (thead) and footer (tfoot).