Desktop Tools and Development Environment Previous page   Next Page

HTML Language Preferences

Select File -> Preferences -> Editor/Debugger -> Language -> HTML to specify syntax highlighting preferences for editing HTML files. This feature checks syntax as defined for the HTML 4.01 specification and the Transitional DTD (Document Type Definition)--see the W3C Web site for details. By default, it applies to .html, .htm, and .shtml files.

Select the Enable syntax highlighting check box to show colors that help you identify certain HTML constructs, such as tags. Specify the colors used for these elements.

Tags and Elements

Color for tags and elements, such as <font> or <img>.

Values

Color for values such as the source for an image, for example "myimage.gif", in an <img> tag.

Entities

Color for entities, such as the nonbreaking space, &nbsp;.

Attributes

Color for tags and elements attributes, such as source attribute, src, in an <img> tag.

Comments

Color for text following the comment indicator, <!--.

Declarations

Color for declarations, such as the doctype.

Bad Characters

Color for illegal entries, such as <+1> for font size, which is deprecated in favor of style sheets in the HTML 4.01 specification.

See Also


Previous page  Java Language Preferences Publishing Preferences for the Editor/Debugger Next page

© 1994-2005 The MathWorks, Inc.