Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxHtmlDocumentExporterOptions.UseHtml5 Property

Specifies if the resulting document conforms to the HTML5 specification.

#Declaration

Delphi
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