This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015. * Some parts of this feature may have varying levels of support. 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.
