W3C Amaya

top next

Working with Document Views

Amaya can present different views of a document simultaneously. Each view is displayed in a different window so you can clearly see what is happening when you edit complex documents.

The multiple windows can also help you move quickly through a document. For example, if you click a heading in the Table of Contents view, the Formatted view will display the document section you selected.

Six views are available from the Views menu.

formatted view

Formatted view (default)

This view is similar to that provided in other graphical browsers. It is a dynamic, direct-manipulation view. At all times it displays the changes you make to the document, in contrast to editors that only provide a series of static snapshots of the document.

structure view

Structure view (Views > Show structure)

This view shows the actual structure of the document. Each element is represented by its tag name, followed by its attributes on the same line. The elements it contains are represented underneath, next to a blue vertical line that shows the extent of the element.

You can directly edit any text displayed in black by clicking and typing. You must use the editing commands to change text displayed in blue.

The structure view shows all the elements of the document even those that are not displayed in the formatted view like comments, doctype, processing instructions or the elements of the head section.

This view also shows the uri of the namespace used by the author when an element belongs to a namespace that is different from it's parent one's.

alternate view

Alternate view (Views > Show alternate)

This view shows how the document looks when displayed by a text-only browser. It is useful for checking the accessibility of your documents.

links view

Links view (Views > Show links)

This view shows a list of all anchors in the document and the elements each anchor contains. You can focus on it when working on hypertext links.

table of contents view

Table of Contents view (Views > Show table of contents)

This view shows a list of all headings (Hn elements) in the document. If the document is well structured, it displays an overview of the document.

source view

Source view (Views > Show source)

This view shows the actual source code of the document. You can use it to edit the syntax of your document.

You can open and close any view at any time. However, if you have multiple views open and close the Formatted view, all other views will close automatically.

For more information on views, see: