# Working with the Amaya Browser and Editor

You can use Amaya to open and browse local and remote Web documents. You can also use it to create and modify Web pages.

## Browsing versus editing

Browsing with Amaya is similar to browsing with other Web browsers. For example, the Amaya button bar includes stop, back, next, refresh, home, save, and print buttons. There is one important difference: you double-click a link to activate it. See Activating a Link for more information.

Note:
This behavior can be changed through the Browsing Preferences dialog under the Edit>Preferences menu. By changing the Double click activates link option, you can browse documents with a single click as you would in a traditional Web browser. However, you will not be able to edit a link by clicking within it.
Other browsing preferences like the loading of images and the application of CSS can be controled in the Browsing Preferences menu.

Unlike other browsers, Amaya also provides tools for editing web pages. See these topics for more information on editing:

- Editing Documents
- Editing Tables
- Editing Mathematics

## Character Sets

Amaya reads HTML and XHTML documents differently:

- Amaya reads HTML documents by default as ISO-Latin-1 files. If an author does not provide information about the character set (charset) in the HTTP header or in a META element, Amaya considers an HTML document to be encoded in ISO-Latin-1.

- Amaya reads XHTML documents by default as UTF-8 files. If an author does not provide information about the charset in the HTTP header, in the XML declaration, or in a META element, Amaya considers an XHTML document to be encoded in UTF-8.

Because the default charset is different for HTML and XHTML documents, authors often create documents using the incorrect charset. For example, consider an XHTML document that uses ISO-Latin-1 but does not provide information about the charset. When the XML parser analyzing the document encounters a character that does not match a valid UTF-8 character, the document is considered to be not well formed. Parsing stops and Amaya displays an error message that proposes either to reload the document as an HTML document or to show parsing errors. If show parsing errors is selected, Amaya displays the detected errors.