Paged.The open publishing system
The format atlas
Element referenceResources/Preferences

<HTMLExportPreference> / Element reference

HTMLExportPreference

The HTMLExportPreference element in IDML: where it appears (Resources/Preferences), its 39 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

Settings for exporting the document as HTML. They configure the export and do not change the page.

Lives in
Resources/Preferences 270
Frequency
In 270 of the 305 documents of the census (88.5%), 2026-10-12
Attributes
39 observed

Structure

Relationships

HTMLExportPreference

Contains

no elements

Where HTMLExportPreference sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).

Attributes

AttributeTypeValuesSeen in
ApplyImageAlignmentToAnchoredObjectSettings#booleantrue270100%
BottomMargin#integerany100%
BulletExportOption#
How bulleted lists export: as HTML lists (UnorderedList) or converted to text.
keywordUnorderedList270100%
CSSExportOption#keywordEmbeddedCSS270100%
CustomImageSizeOption#
How exported images are sized: fixed (SizeFixed) or relative to the page width (SizeRelativeToPageWidth).
keywordSizeFixed270100%
ExportOrder#
The order content is exported in: the layout's (LayoutOrder), the XML structure's, or the Articles panel's.
keywordLayoutOrder270100%
ExportSelection#
Whether only the selection is exported.
booleanfalse270100%
ExternalCSSPath#builtinany100%
ExternalStyleSheets#
Additional CSS files linked into the exported HTML or EPUB.
—any100%
GIFOptionsInterlaced#
Whether images exported as GIF are interlaced, so they load progressively.
booleanfalse270100%
GIFOptionsPalette#
The colour palette for images exported as GIF, such as AdaptivePalette.
keywordAdaptivePalette270100%
IgnoreObjectConversionSettings#
Whether objects' own export options (ObjectExportOption) are ignored on export.
booleanfalse270100%
ImageAlignment#
How exported images are aligned: AlignLeft, AlignCenter or AlignRight.
keywordAlignCenter270100%
ImageConversion#
The format images are converted to on export: Automatic lets InDesign choose, or JPEG, GIF or PNG.
keywordAutomatic270100%
ImageExportOption#keywordOptimizedImage270100%
ImageExportResolution#
The resolution of exported images, such as Ppi150 for 150 ppi.
keywordPpi150270100%
ImageExtension#textany100%
ImageSpaceAfter#
Space added below exported images, in the unit set by SpaceUnit.
integerany100%
ImageSpaceBefore#
Space added above exported images, in the unit set by SpaceUnit.
integerany100%
IncludeCSSDefinition#booleantrue270100%
Javascripts#
JavaScript files added to the exported HTML or EPUB.
—any100%
JavascriptURL#builtinany100%
JPEGOptionsFormat#
The encoding of images exported as JPEG: BaselineEncoding or ProgressiveEncoding.
keywordProgressiveEncoding270100%
JPEGOptionsQuality#
The quality of images exported as JPEG, such as Medium or High.
keywordHigh270100%
LeftMargin#integerany100%
Level#integerany100%
LinkToJavascript#booleantrue270100%
MarginUnit#keywordCssPixel270100%
NumberedListExportOption#
How numbered lists export: as HTML lists (OrderedList) or converted to text.
keywordOrderedList270100%
PreserveLayoutAppearence#booleanfalse270100%
PreserveLocalOverride#booleantrue270100%
RightMargin#integerany100%
ServerPath#—any100%
SpaceUnit#
The unit of ImageSpaceBefore and ImageSpaceAfter, such as CssPixel.
keywordCssPixel270100%
TopMargin#integerany100%
ViewDocumentAfterExport#
Whether the export is opened for viewing when it is done.
booleantrue270100%
GenerateCascadeStyleSheet#
Whether a CSS style sheet is generated on export.
booleantrue26698.5%
IncludeClassesInHTML#
Whether style class names are written into the exported HTML.
booleantrue8431.1%
UseSVGAs#keywordEmbedCode7427.4%
The attributes documents set on HTMLExportPreference (census of 2026-10-12, 305 documents). Seen in is the share of the 270 documents with a HTMLExportPreference that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.

Evidence

Observed
In 270 of 305 documents (88.5%): Resources/Preferences 270.
Census
Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
Counts are
Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.

Paged support

What Paged, one implementation of the format, does with HTMLExportPreference. Nothing in this panel is part of the format; the reference above holds for any reader.

As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.

Parse
Does not read this element yet
Render
No feature of the capability record names this element
Edit
No attribute maps to a scriptable path
Write
Writes none of its attributes on IDML export

By attribute

AttributeParseEditWrite
ApplyImageAlignmentToAnchoredObjectSettingsnot read—not written
BottomMarginnot read—not written
BulletExportOptionnot read—not written
CSSExportOptionnot read—not written
CustomImageSizeOptionnot read—not written
ExportOrdernot read—not written
ExportSelectionnot read—not written
ExternalCSSPathnot read—not written
ExternalStyleSheetsnot read—not written
GIFOptionsInterlacednot read—not written
GIFOptionsPalettenot read—not written
IgnoreObjectConversionSettingsnot read—not written
ImageAlignmentnot read—not written
ImageConversionnot read—not written
ImageExportOptionnot read—not written
ImageExportResolutionnot read—not written
ImageExtensionnot read—not written
ImageSpaceAfternot read—not written
ImageSpaceBeforenot read—not written
IncludeCSSDefinitionnot read—not written
Javascriptsnot read—not written
JavascriptURLnot read—not written
JPEGOptionsFormatnot read—not written
JPEGOptionsQualitynot read—not written
LeftMarginnot read—not written
Levelnot read—not written
LinkToJavascriptnot read—not written
MarginUnitnot read—not written
NumberedListExportOptionnot read—not written
PreserveLayoutAppearencenot read—not written
PreserveLocalOverridenot read—not written
RightMarginnot read—not written
ServerPathnot read—not written
SpaceUnitnot read—not written
TopMarginnot read—not written
ViewDocumentAfterExportnot read—not written
GenerateCascadeStyleSheetnot read—not written
IncludeClassesInHTMLnot read—not written
UseSVGAsnot read—not written

Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names HTMLExportPreference.

On this page