• Skip to main content
  • Skip to search
  • Skip to select language
  • 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. Technologies web pour développeurs
  2. Référence Web API
  3. DOMStringList

Cette page a été traduite à partir de l'anglais par la communauté. Vous pouvez également contribuer en rejoignant la communauté francophone sur MDN Web Docs.

In this article

  • Propriétés
  • Méthodes
  • Spécifications

Related Topics

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

In this article

  • Propriétés
  • Méthodes
  • Spécifications

DOMStringList

Un type renvoyé par certaines API contenant une liste de DOMString (chaînes de caractères).

Propriétés

DOMStringList.length Lecture seule

Renvoie la longueur de la liste.

Méthodes

DOMStringList.item()

Renvoie une DOMString (chaîne de caractères).

DOMStringList.contains()

Renvoie un Boolean (booléen) indiquant si la chaîne de caractères donnée est dans la liste.

Spécifications

Spécification Statut Commentaire
HTML Living Standard
La définition de 'DOMStringList' dans cette spécification.
Standard évolutif Définition initiale.

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: 16 mars 2022, by MDN contributors

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
  • 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.