moveToElementText()
This method is used to move the current textRange element start and end point to take up the space of the specifed HTML element.
syntax:
moveToElementText(element name)
This method is used with the following:
textRange