TextRange.pasteHTML() (Method)

Pastes HTML or plain text into the text range.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyTextRange.pasteHTML(someHTML)
Argument list:someHTMLA string containing valid HTML

Because the htmlText property is a read-only value, you will need to use this method to replace the HTML bounded by the TextRange or to insert HTML if the TextRange describes an insertion point.

See also:TextRange.htmlText