https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNode
Range: selectNode() method - Web APIs | MDN
The Range.selectNode() method sets the Range to contain the Node and its contents. The parent Node of the start and end of the Range will be the same as the...
web apisrangemethodmdn