optimizeHTML Method

Microsoft FrontPage Visual Basic

optimizeHTML Method

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

expression.optimizeHTML

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

Example

The following example optimizes the HTML in the active document.

    ActiveDocument.optimizeHTML