Edit online

Syntax Highlighting in HTML Documents

Oxygen XML Author supports syntax highlighting in Text mode to make it easier to read the semantics of the structured content by displaying each type of code in different colors and fonts.

For HTML documents, it handles attributes without quotes, unclosed or void elements, and it also offers highlighting for embedded CSS or JavaScript content.

To customize the colors or styles used for the syntax highlighting colors for HTML files, follow these steps:
  1. Open the Preferences dialog box (Options > Preferences).
  2. Go to Editor > Syntax Highlight.
  3. Select and expand the XHTML section in the top pane.
  4. Select the component you want to change and customize the colors or styles using the selectors to the right of the pane.
You can see the effects of your changes in the Preview pane.