• 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. DOMStringList
  4. length

目录

  • Value
  • Specifications
  • Browser compatibility
  1. Document Object Model
  2. DOMStringList
  3. Instance properties
    1. length
  4. Instance methods
    1. contains()
    2. item()
  5. 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. StaticRange
    33. Text
    34. TextDecoder
    35. TextEncoder
    36. TimeRanges
    37. TreeWalker
    38. XMLDocument

目录

  • Value
  • Specifications
  • Browser compatibility

DOMStringList: length property

The read-only length property indicates the number of strings in the DOMStringList.

Value

A Number.

Specifications

Specification
HTML Standard
# dom-domstringlist-length

Browser compatibility

BCD tables only load in the browser

MDN Web 中文网 - 粤ICP备13048890号