• Skip to main content
  • Skip to search
  • Skip to select language
webdocs.dev
  • 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 Extensions

      Developing extensions for web browsers

    • 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

  • Play New
  1. References
  2. Web APIs
  3. HTMLFormElement
  4. encoding

In this article

  • Browser compatibility
  1. HTML DOM API
  2. HTMLFormElement
  3. Instance properties
    1. acceptCharset
    2. action
    3. elements
    4. encoding
    5. enctype
    6. length
    7. method
    8. name
    9. target
  4. Instance methods
    1. reportValidity()
    2. requestSubmit()
    3. reset()
    4. submit()
  5. Events
    1. formdata
    2. reset
    3. submit
  6. Inheritance:
    1. HTMLElement
    2. Element
    3. Node
    4. EventTarget
  7. Related pages for HTML DOM
    1. BeforeUnloadEvent
    2. DOMStringMap
    3. ErrorEvent
    4. HTMLAnchorElement
    5. HTMLAreaElement
    6. HTMLAudioElement
    7. HTMLBRElement
    8. HTMLBaseElement
    9. HTMLBodyElement
    10. HTMLButtonElement
    11. HTMLCanvasElement
    12. HTMLDListElement
    13. HTMLDataElement
    14. HTMLDataListElement
    15. HTMLDialogElement
    16. HTMLDivElement
    17. HTMLDocument
    18. HTMLElement
    19. HTMLEmbedElement
    20. HTMLFieldSetElement
    21. HTMLFormControlsCollection
    22. HTMLFrameSetElement
    23. HTMLHRElement
    24. HTMLHeadElement
    25. HTMLHeadingElement
    26. HTMLHtmlElement
    27. HTMLIFrameElement
    28. HTMLImageElement
    29. HTMLInputElement
    30. HTMLLIElement
    31. HTMLLabelElement
    32. HTMLLegendElement
    33. HTMLLinkElement
    34. HTMLMapElement
    35. HTMLMediaElement
    36. HTMLMetaElement
    37. HTMLMeterElement
    38. HTMLModElement
    39. HTMLOListElement
    40. HTMLObjectElement
    41. HTMLOptGroupElement
    42. HTMLOptionElement
    43. HTMLOptionsCollection
    44. HTMLOutputElement
    45. HTMLParagraphElement
    46. HTMLPictureElement
    47. HTMLPreElement
    48. HTMLProgressElement
    49. HTMLQuoteElement
    50. HTMLScriptElement
    51. HTMLSelectElement
    52. HTMLSourceElement
    53. HTMLSpanElement
    54. HTMLStyleElement
    55. HTMLTableCaptionElement
    56. HTMLTableCellElement
    57. HTMLTableColElement
    58. HTMLTableElement
    59. HTMLTableRowElement
    60. HTMLTableSectionElement
    61. HTMLTemplateElement
    62. HTMLTextAreaElement
    63. HTMLTimeElement
    64. HTMLTitleElement
    65. HTMLTrackElement
    66. HTMLUListElement
    67. HTMLUnknownElement
    68. HTMLVideoElement
    69. HashChangeEvent
    70. History
    71. ImageData
    72. Location
    73. MessageChannel
    74. MessageEvent
    75. MessagePort
    76. Navigator
    77. PageTransitionEvent
    78. Plugin
    79. PluginArray
    80. PromiseRejectionEvent
    81. RadioNodeList
    82. UserActivation
    83. ValidityState
    84. Window
    85. WorkletGlobalScope

In this article

  • Browser compatibility

HTMLFormElement: encoding property

The HTMLFormElement.encoding property is an alternative name for the enctype element on the DOM HTMLFormElement object.

Browser compatibility

BCD tables only load in the browser

Found a content problem with this page?

  • Edit the page on GitHub.
  • Report the content issue.
  • View the source on GitHub.
Want to get more involved? Learn how to contribute.

This page was last modified on Apr 6, 2023 by MDN contributors.

webdocs.dev
  • GitHub

Support

  • Report an issue

Our communities

  • Discord

Developers

  • Web Technologies
  • Learn Web Development

Portions of this content are ©1998–2023 by individual contributors. Content available under a Creative Commons license.