• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. HTMLDataElement
  4. HTMLDataElement.value
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility

HTMLDataElement.value

The value property of the HTMLDataElement interface returns a DOMString reflecting the value HTML attribute.

Value

A DOMString.

Specifications

Specification
HTML Standard
# dom-data-value

Browser compatibility

BCD tables only load in the browser

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: Mar 25, 2022, by MDN contributors

Change your language

Related Topics

  1. HTML DOM API
  2. HTMLDataElement
  3. Properties
    1. value
  4. Inheritance:
    1. HTMLElement
    2. Element
    3. Node
    4. EventTarget
  5. Related pages for HTML DOM
    1. BeforeUnloadEvent
    2. DOMStringMap
    3. ErrorEvent
    4. GlobalEventHandlers
    5. HTMLAnchorElement
    6. HTMLAreaElement
    7. HTMLAudioElement
    8. HTMLBRElement
    9. HTMLBaseElement
    10. HTMLBaseFontElement
    11. HTMLBodyElement
    12. HTMLButtonElement
    13. HTMLCanvasElement
    14. HTMLContentElement
    15. HTMLDListElement
    16. HTMLDataListElement
    17. HTMLDialogElement
    18. HTMLDivElement
    19. HTMLDocument
    20. HTMLElement
    21. HTMLEmbedElement
    22. HTMLFieldSetElement
    23. HTMLFormControlsCollection
    24. HTMLFormElement
    25. HTMLFrameSetElement
    26. HTMLHRElement
    27. HTMLHeadElement
    28. HTMLHeadingElement
    29. HTMLHtmlElement
    30. HTMLIFrameElement
    31. HTMLImageElement
    32. HTMLInputElement
    33. HTMLKeygenElement
    34. HTMLLIElement
    35. HTMLLabelElement
    36. HTMLLegendElement
    37. HTMLLinkElement
    38. HTMLMapElement
    39. HTMLMediaElement
    40. HTMLMetaElement
    41. HTMLMeterElement
    42. HTMLModElement
    43. HTMLOListElement
    44. HTMLObjectElement
    45. HTMLOptGroupElement
    46. HTMLOptionElement
    47. HTMLOptionsCollection
    48. HTMLOutputElement
    49. HTMLParagraphElement
    50. HTMLParamElement
    51. HTMLPictureElement
    52. HTMLPreElement
    53. HTMLProgressElement
    54. HTMLQuoteElement
    55. HTMLScriptElement
    56. HTMLSelectElement
    57. HTMLShadowElement
    58. HTMLSourceElement
    59. HTMLSpanElement
    60. HTMLStyleElement
    61. HTMLTableCaptionElement
    62. HTMLTableCellElement
    63. HTMLTableColElement
    64. HTMLTableDataCellElement
    65. HTMLTableElement
    66. HTMLTableHeaderCellElement
    67. HTMLTableRowElement
    68. HTMLTableSectionElement
    69. HTMLTemplateElement
    70. HTMLTextAreaElement
    71. HTMLTimeElement
    72. HTMLTitleElement
    73. HTMLTrackElement
    74. HTMLUListElement
    75. HTMLUnknownElement
    76. HTMLVideoElement
    77. HashChangeEvent
    78. History
    79. ImageData
    80. Location
    81. MessageChannel
    82. MessageEvent
    83. MessagePort
    84. Navigator
    85. PageTransitionEvent
    86. Plugin
    87. PluginArray
    88. PopStateEvent
    89. PromiseRejectionEvent
    90. RadioNodeList
    91. ValidityState
    92. Window
    93. WindowEventHandlers
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies