Option
Learn more about configuring HTML export options for web-ready content in Adobe InDesign.
HTML export options control how document content, structure, images, and styling are converted to HTML. These settings influence reading order, formatting, image handling, and whether to include CSS or scripts.
General options
Export and content handling
|
|
Function |
|
Export |
Determines whether selected items or the entire document is exported. Selecting a text frame exports the full story, including overset text. Selecting Document exports all page items across spreads, excluding non-overridden parent page items and items on invisible layers. XML tags, indexes, and tables of contents are ignored. |
|
Content Order |
Defines the reading order of page objects: |
Formatting options
|
Option |
Function |
|
Bullets |
Converts bullet paragraphs to HTML lists or text:
If you have used native InDesign auto-bullets, sub-bullets are included as well. |
|
Numbers |
Converts numbered lists to ordered lists or plain text:
|
|
View HTML after Exporting |
Opens the exported HTML file in a browser, if available. |
Image options
Image export and handling
|
Option |
Function |
|
Copy Images |
Controls how images are exported: |
|
Preserve Appearance from Layout (for Graphic/Media objects) |
Retains layout-based attributes for graphic and media objects. |
Image quality and sizing
|
Option |
Function |
|
Resolution |
Defines image resolution in pixels per inch. Available values include 72, 96, 150, and 300 ppi. Higher values improve quality. |
|
Image Size |
Controls scaling behavior. Fixed size preserves dimensions. Relative to Text Flow scales images proportionally to text width. |
|
Image Alignment and Spacing |
Sets image alignment and vertical spacing within the layout. |
Image conversion
|
Option |
Function |
|
Image Conversion |
Determines output format: GIF, JPEG, PNG, or Automatic. |
GIF options
|
Option |
Function |
|
Palette |
Defines color handling: |
|
Interlace |
Displays images progressively as they load. |
JPEG options
|
Option |
Function |
|
Image Quality |
Controls compression and visual quality. Lower quality reduces file size. |
|
Format Method |
Defines display behavior: |
Additional image setting
|
Option |
Function |
|
Ignore Object Export Settings |
Overrides individual object export settings applied to images. |
Advanced options
HTML and CSS
|
Option |
Function |
|
Don't include classes in HTML |
Removes class and id attributes and eliminates redundant div tags. |
|
Include classes in HTML |
Retains class and id attributes in exported HTML. |
|
Generate CSS |
Controls whether CSS is generated during export. |
|
Preserve Local Overrides |
Retains local formatting such as bold or italic styling. |
|
Add Style Sheet |
Specifies a path to an external CSS file. File validation is not performed. |
JavaScript
|
Option |
Function |
|
Add Script |
Associates a JavaScript file to run when the HTML page opens. Script validation is not performed. |
Exported content
- Stories, linked and embedded graphics, SWF files, footnotes, text variables as text, bulleted and numbered lists, internal cross-references, hyperlinks to web pages, and text anchors.
- Tables with formatting such as strokes and cell styles.
- Objects such as shapes, pasted content, and outlined text.
- Audio and H.264 video wrapped in HTML5 <audio> and <video> tags.
Unsupported content
- Hyperlinks other than web links and text-anchor links.
- XML tags, books, bookmarks, SING glyphlets.
- Page transitions and index markers.
- Unselected pasteboard objects are not intersecting the page.
- Parent page items, unless overridden or selected before export.
Create print and digital materials with InDesign
Design impactful ads, magazine and book layouts, and more.