parentElement()
This method is used to return a reference to the next element which flly contains that specific TextRange element.
syntax:
parentElement()
This method is used with the following:
textRange