Share via


DesignerDocument.optimizeHTML Method

SharePoint Designer Developer Reference

Optimizes the Hypertext Markup Language (HTML) in a Web page.

Syntax

expression.optimizeHTML

expression   Required. A variable that represents a DesignerDocument object.

Remarks

Use the OptimizeHTMLFlags property to specify how HTML is to be optimized in Web pages.

See Also