Setting HTML output settings


    You can set the following options in the HTML options in the Output Settings dialog box (see Using the Output Settings dialog box):

    Tags Case

    Specifies the capitalization for tags.

    Attribute Case

    Specifies the capitalization for attributes.

    Tip iconSetting tags and attributes to all uppercase helps the code stand out in the HTML source code.

    Indent

    Specifies a method for indenting lines of code: using the authoring application's tab settings, using a specified number of spaces, or using no indentation.

    Line Endings

    Specifies a platform for line ending compatibility.

    Include Comments

    Adds explanatory comments to the HTML code.

    Always Quote Attributes

    Places quotation marks around all tag attributes. Placing quotation marks around attributes is required for compatibility with certain early browsers and for strict HTML compliance. However, always quoting attributes is not recommended. Quotation marks are used when necessary to comply with most browsers, even if this option is deselected.

    Always Add Alt Attribute

    Adds an Alt attribute to the HTML code for each Web image to comply with government Web accessibility standards.

    Close All Tags

    Adds an end tag to all HTML tags in the file for XHTML compliance.

    Include Zero Margins on Body Tag

    Eliminates the default page margins that are inserted by some browsers. Adds marginwidth, marginheight, leftmargin, and topmargin tags with values of zero to the body tag.

    Included GoLive Interoperability Code

    Reformats JavaScript code so that rollovers are fully editable in Adobe GoLive 5.0 and earlier. (Also creates an SVG file for every slice for the GoLive Save For Web feature to use during optimization.) You don't need to select this option if you plan to edit rollovers in more recent versions of GoLive.