Share via


TextRange.htmlText Property

SharePoint Designer Developer Reference

Returns a String that represents the HTML contained in the specified TextRange object or, if the selected text contains no HTML, returns the selected text with the HTML for the parent element.

Syntax

expression.htmlText

expression   Required. A variable that represents a TextRange object.

See Also