Removes all contents within a selected range.
This method has no parameters.
This method does not return a value.
detach has been invoked on the object.
Some of the contents or nodes are read-only. Versions earlier than Internet Explorer 10 return W3Exception_DOM_NO_MODIFICATION_ALLOWED_ERR.
If the deleted range contains closing or opening tags, the remaining tags are completed.