This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2017. Learn moreSee full compatibilityReport feedback The Range interface represents a fragment of a document that can contain nodes and parts of text nodes. A range can be created by using the Document.createRange() method. Range objects can also be retrieved by usi