• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • 参考手册
    • 概述 / Web 技术

      适用于开发者的 Web 技术参考手册

    • HTML

      Web 内容的结构

    • CSS

      用于描述文档样式的代码

    • JavaScript

      通用脚本语言

  • 开发指南
    • 概述 / MDN 学习区

      学习 Web 开发

    • MDN 学习区

      学习 Web 开发

    • HTML

      学习使用 HTML 构建 Web 内容

    • CSS

      学习使用 CSS 设置内容样式

    • JavaScript

      学习在浏览器中运行脚本

  • 更多中文网
  1. 面向开发者的 Web 技术
  2. 网络 API
  3. StaticRange
  4. startContainer

目录

  • Value
  • Specifications
  • Browser compatibility
  1. Document Object Model
  2. StaticRange
  3. Constructor
    1. StaticRange()
  4. Instance properties
    1. collapsed
    2. endContainer
    3. endOffset
    4. startContainer
    5. startOffset
  5. Inheritance
    1. AbstractRange
  6. Related pages for DOM
    1. AbortController
    2. AbortSignal
    3. AbstractRange
    4. Attr
    5. CDATASection
    6. CharacterData
    7. Comment
    8. CustomEvent
    9. DOMError Deprecated
    10. DOMException
    11. DOMImplementation
    12. DOMParser
    13. DOMPoint
    14. DOMPointReadOnly
    15. DOMRect
    16. DOMTokenList
    17. Document
    18. DocumentFragment
    19. DocumentType
    20. Element
    21. Event
    22. EventTarget
    23. HTMLCollection
    24. MutationObserver
    25. MutationRecord
    26. NamedNodeMap
    27. Node
    28. NodeIterator
    29. NodeList
    30. ProcessingInstruction
    31. Range
    32. Text
    33. TextDecoder
    34. TextEncoder
    35. TimeRanges
    36. TreeWalker
    37. XMLDocument

目录

  • Value
  • Specifications
  • Browser compatibility

StaticRange: startContainer property

The read-only startContainer property of the StaticRange interface returns the start Node for the range.

Value

The DOM Node inside which the start position of the range is found.

Specifications

Specification
DOM Standard
# ref-for-dom-range-startcontainer①

Browser compatibility

BCD tables only load in the browser

MDN Web 中文网 - 粤ICP备13048890号