• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      More MDN. Your MDN.

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. Tecnologia Web para desenvolvedores
  2. APIs da Web
  3. DOMStringList

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

In this article

  • Propriedades
  • Métodos
  • Especificações

Related Topics

  1. Document Object Model
  2. DOMStringList
  3. Páginas relacionadas a DOM
    1. AbortController (en-US)
    2. AbortSignal
    3. AbstractRange (en-US)
    4. Attr
    5. CDATASection (en-US)
    6. CharacterData
    7. Comment (en-US)
    8. CustomEvent (en-US)
    9. DOMError (en-US)
    10. DOMException
    11. DOMImplementation
    12. DOMParser (en-US)
    13. DOMPoint (en-US)
    14. DOMPointReadOnly (en-US)
    15. DOMRect (en-US)
    16. DOMTimeStamp (en-US)
    17. DOMTokenList (en-US)
    18. Document
    19. DocumentFragment
    20. DocumentType (en-US)
    21. Element
    22. Event
    23. EventTarget
    24. HTMLCollection
    25. MutationObserver
    26. NamedNodeMap (en-US)
    27. Node
    28. NodeIterator (en-US)
    29. NodeList
    30. ProcessingInstruction
    31. Range (en-US)
    32. StaticRange (en-US)
    33. Text (en-US)
    34. TextDecoder (en-US)
    35. TextEncoder (en-US)
    36. TimeRanges (en-US)
    37. TreeWalker (en-US)
    38. XMLDocument

In this article

  • Propriedades
  • Métodos
  • Especificações

DOMStringList

Um tipo retornado por algumas APIs, que contém uma lista de DOMString (strings).

Propriedades

DOMStringList.length Somente leitura
Retorna o número de itens da lista

Métodos

DOMStringList.item()
Retorna uma DOMString.
DOMStringList.contains()
Retorna Boolean indicando se a string em questão está na lista

Especificações

Especificação Status Comentário
HTML Living Standard
The definition of 'DOMStringList' in that specification.
Padrão em tempo real Especificação Inicial

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: 8 de dez. de 2020, by MDN contributors

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
Mozilla logo
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.