Path: blob/main/files/en-us/web/api/abstractrange/startoffset/index.md
6517 views
------{{APIRef("DOM")}}
The read-only startOffset property of the {{domxref("AbstractRange")}} interface returns the offset into the start node of the range's start position.
Value
An integer value indicating the number of characters into the {{domxref("Node")}} indicated by {{domxref("AbstractRange.startContainer", "startContainer")}} at which the first character of the range is located.
Example
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}