decorative banner

Setting HTML output options


    You can set the following options in the HTML set:

    Tags Case

    Specifies the capitalization for tags.

    Attribs Case

    Specifies the capitalization for attributes.

    TipSetting tags and attributes to all uppercase helps the code stand out in the file.

    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.

    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.

    Include Comments

    Adds explanatory comments to the HTML code.

    Include GoLive Code

    Reformats code in the style used by Adobe GoLive. Select this option if you plan to reoptimize slices in GoLive.

    Generate CSS

    Generates a Cascading Style Sheet, rather than an HTML table.

    Referenced

    Specifies how slice positions are referenced in the HTML file when using CSS:

    • By ID to position each slice using styles that are referenced by a unique ID.
    • Inline to include style elements in the declaration of the block element <DIV> tag.
    • By Class to position each slice using classes that are referenced by a unique ID.

    Generate Table

    Aligns slices using an HTML table, rather than a Cascading Style Sheet.

    Empty Cells

    Specifies how empty slices are converted to table cells. Select GIF, IMG W&H to use a one-pixel GIF with width and height values specified on the IMG tag. Select GIF, TD W&H to use a one-pixel GIF with width and height values specified on the TD tag. Select NoWrap, TD W&H to place a nonstandard NoWrap attribute on the table data and also place width and height values specified on the TD tags.

    TD W&H

    Specifies when to include width and height attributes for table data: Always, Never, or Auto (the recommended setting).

    Spacer Cells

    Specifies when to add one row and one column of empty spacer cells around the generated table: Always, Never, or Auto (the recommended setting). Adding spacer cells is necessary with table layouts in which slice boundaries do not align, to prevent the table from breaking apart in some browsers.

    Image Map Type

    Specifies what type of image map is created:

    • Client-Side to include all required code for the image map in the image's HTML file.
    • NCSA Server-Side to create a separate .map file in addition to the HTML file, using NCSA specifications.
    • CERN Server-Side to create a separate .map file in addition to the HTML file, using CERN specifications.
    • Client & NCSA to create both a client-side and server-side compatible image map, using NCSA specifications.
    • Client & CERN to create both a client-side and server-side compatible image map, using CERN specifications.

    Note: Contact your Internet service provider to find out whether to use NCSA or CERN specification for server-side image maps.

    Image Map Placement

    Specifies the location of the image map declaration (the <MAP> tag) in the HTML file:

    • Top to place the image map declaration at the top of the HTML body section.
    • Body to place the image map declaration above the <IMG SRC> tag for the associated slice.
    • Bottom to place the image map declaration at the bottom of the HTML body section.