HTML Source View Preferences  
 

HTML Source View Preferences allows you to change the behavior of the HTML Source View.

Font - Choose the typeface and size for source view text

Reformat when source view is opened - When checked, the HTML source will be indented as appropriate when it first appears. You can also do this at any time using the Reformat button on the Source View's toolbar.

Indent - Enter an amount of indentation to use for reformatting.

Continuously colorize HTML tags - When checked, HTML tags and other text elements will be colorized by type automatically. If this box is unchecked, you can still colorize HTML source manually by clicking the Colorize button on the Source View toolbar (you may need to add the button to the toolbar first).

Flag missing end tags as an error - Many HTML expressions require matching beginning and end tags (such as <HEAD></HEAD>). When this box is checked, start tags that don't have an end tag will be shown as "mismatched".

Keep processed streams for viewing - When checked, the "As processed" choices become available in the View popup menu on the Source View toolbar. See the Source View help for more information about this feature.

Mismatched tags - When colorizing the source, OmniWeb will automatically notice any end tags that don't have a start tag (like a </B> without a <B> before it) and other mismatches. Here you can choose whether such tags are displayed underlined or or with a colored background (and you can choose what highlight color to use).

Unrecognized tags - When colorizing the source, OmniWeb will automatically notice HTML tags that it doesn't recognize (either because it doesn't support them, or because they're invalid HTML tags). Here you can choose whether such tags are displayed underlined or or with a colored background (and you can choose what highlight color to use).

On the right-hand side of the panel, you can pick the colors OmniWeb uses for colorizing HTML elements and text in the source view:
Background - the background color of the window.
Normal text - text that doesn't have a special meaning in HTML.
Preformatted text - text surrounded in <PRE></PRE> tags
Entities - HTML representations of special characters, like &uuml; for ü.
Comments - Text surrounded in <!-- --> tags
HTML tags - Anything OmniWeb recognizes as an HTML tag; in general, text surrounded in angle brackets.
HTML tag attribute names - the NAME= in <A NAME="foo">.
HTML tag attribute values - the "foo" in <A NAME="foo">.

Related Topics
Using the Preferences window

Table of Contents: Editing HTML Source
Table of Contents: Customizing OmniWeb
Main Table of Contents