OptimizeHTMLFlags Enumeration
SharePoint Designer Developer Reference |
Specifies how to optimize the HTML in a Web page.
Version Information
Version Added:
Name | Value | Description |
---|---|---|
OptimizeHTMLAdjacentTags | 64 | Combines adjacent elements of the same type. |
OptimizeHTMLAuthorComponents | 8 | Removes Author-Time FrontPage Web component comments. |
OptimizeHTMLBrowseComponents | 131072 | Removes Browse-Time FrontPage Web component comments. |
OptimizeHTMLCellFormattingAttr | 256 | Removes cell formatting sttributes. |
OptimizeHTMLDwtCmnts | 1024 | Removes Dynamic Web Template comments. |
OptimizeHTMLEmpty | 32 | Removes empty tags. |
OptimizeHTMLEnabled | -2147483648 | Enables optimization. |
OptimizeHTMLGenerator | 16 | Removes META elements that contain Generator and Programatic Identifier information. |
OptimizeHTMLHTMLAllWhitespace | 16384 | Removes all white spaces that don't affect rendering. |
OptimizeHTMLHTMLCmnts | 4096 | Removes all other HTML comments. |
OptimizeHTMLHTMLLeadWhitespace | 8192 | Removes leading white spaces from each line. |
OptimizeHTMLHTMLMisnest | 32768 | Removes incorrectly nested tags. |
OptimizeHTMLScriptCmnts | 2048 | Removes script comments. |
OptimizeHTMLThemes | 4 | Removes theme comments. |
OptimizeHTMLTrcImageAttr | 512 | Removes image tracing attributes from the BODY element. |
OptimizeHTMLUnusedStyles | 65536 | Removes unused styles. |
OptimizeHTMLVMLGraphics | 128 | Removes Vector Markup Language (VML) from a page that uses Office drawings and WordArt. |
OptimizeHTMLWordHTML | 1 | Removes Word-specific HTML markup. |