The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position.
The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not.
The Range.endContainer read-only property returns the Node within which the Range ends.
The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one.
The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.
The Range.startContainer read-only property returns the Node within which the Range starts.
The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods.
The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.
The AbstractRange abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.