Skip to main content

TdxHtmlDocumentExporterOptions.UseHtml5 Property

Specifies if the resulting document conforms to the HTML5 specification.

Declaration

property UseHtml5: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

The following changes are applied to the exported HTML documents, provided that the UseHtml5 property is set to True:

  • The DOCTYPE declaration is written as <!DOCTYPE html>.

  • The <a id=”…”> attribute is used instead of the <a name=”…”> attribute in anchors (when bookmarks are exported, for instance).

The UseHtml5 property’s default value is False.

See Also