{
 "compat_features": [
  "api.HTMLTextAreaElement",
  "api.HTMLTextAreaElement.autocomplete",
  "api.HTMLTextAreaElement.cols",
  "api.HTMLTextAreaElement.defaultValue",
  "api.HTMLTextAreaElement.disabled",
  "api.HTMLTextAreaElement.form",
  "api.HTMLTextAreaElement.labels",
  "api.HTMLTextAreaElement.maxLength",
  "api.HTMLTextAreaElement.minLength",
  "api.HTMLTextAreaElement.name",
  "api.HTMLTextAreaElement.placeholder",
  "api.HTMLTextAreaElement.readOnly",
  "api.HTMLTextAreaElement.required",
  "api.HTMLTextAreaElement.rows",
  "api.HTMLTextAreaElement.select",
  "api.HTMLTextAreaElement.select_event",
  "api.HTMLTextAreaElement.selectionDirection",
  "api.HTMLTextAreaElement.selectionEnd",
  "api.HTMLTextAreaElement.selectionStart",
  "api.HTMLTextAreaElement.setRangeText",
  "api.HTMLTextAreaElement.setSelectionRange",
  "api.HTMLTextAreaElement.textLength",
  "api.HTMLTextAreaElement.type",
  "api.HTMLTextAreaElement.value",
  "api.HTMLTextAreaElement.wrap",
  "html.elements.textarea",
  "html.elements.textarea.autocomplete",
  "html.elements.textarea.cols",
  "html.elements.textarea.disabled",
  "html.elements.textarea.form",
  "html.elements.textarea.maxlength",
  "html.elements.textarea.minlength",
  "html.elements.textarea.name",
  "html.elements.textarea.placeholder",
  "html.elements.textarea.placeholder.line_breaks",
  "html.elements.textarea.readonly",
  "html.elements.textarea.required",
  "html.elements.textarea.rows",
  "html.elements.textarea.wrap",
  "html.elements.textarea.wrap.hard"
 ],
 "description": "The <textarea> element represents an editing control that allows users to enter multi-line, free-form, plain text.",
 "description_html": "The <code>&#x3C;textarea></code> element represents an editing control that allows users to enter multi-line, free-form, plain text.",
 "group": [
  "forms",
  "html-elements"
 ],
 "kind": "feature",
 "name": "<textarea>",
 "spec": [
  "https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element"
 ],
 "status": {
  "baseline": "high",
  "baseline_high_date": "2018-01-29",
  "baseline_low_date": "2015-07-29",
  "by_compat_key": {
   "api.HTMLTextAreaElement": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.autocomplete": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "66",
     "chrome_android": "66",
     "edge": "79",
     "firefox": "59",
     "firefox_android": "59",
     "safari": "9.1",
     "safari_ios": "9.3"
    }
   },
   "api.HTMLTextAreaElement.cols": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.defaultValue": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.disabled": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.form": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.labels": {
    "baseline": "high",
    "baseline_high_date": "2021-04-02",
    "baseline_low_date": "2018-10-02",
    "support": {
     "chrome": "6",
     "chrome_android": "18",
     "edge": "18",
     "firefox": "56",
     "firefox_android": "56",
     "safari": "5.1",
     "safari_ios": "5"
    }
   },
   "api.HTMLTextAreaElement.maxLength": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "5"
    }
   },
   "api.HTMLTextAreaElement.minLength": {
    "baseline": "high",
    "baseline_high_date": "2020-10-30",
    "baseline_low_date": "2018-04-30",
    "support": {
     "chrome": "40",
     "chrome_android": "40",
     "edge": "17",
     "firefox": "51",
     "firefox_android": "51",
     "safari": "10.1",
     "safari_ios": "10.3"
    }
   },
   "api.HTMLTextAreaElement.name": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.placeholder": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "5"
    }
   },
   "api.HTMLTextAreaElement.readOnly": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.required": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "5"
    }
   },
   "api.HTMLTextAreaElement.rows": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.select": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.select_event": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "6",
     "firefox_android": "6",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.selectionDirection": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "15",
     "chrome_android": "18",
     "edge": "79",
     "firefox": "8",
     "firefox_android": "8",
     "safari": "6",
     "safari_ios": "6"
    }
   },
   "api.HTMLTextAreaElement.selectionEnd": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1.3",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.selectionStart": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1.3",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.setRangeText": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "24",
     "chrome_android": "25",
     "edge": "79",
     "firefox": "27",
     "firefox_android": "27",
     "safari": "7",
     "safari_ios": "7"
    }
   },
   "api.HTMLTextAreaElement.setSelectionRange": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1.3",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.textLength": {
    "baseline": "high",
    "baseline_high_date": "2020-10-30",
    "baseline_low_date": "2018-04-30",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "17",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "4"
    }
   },
   "api.HTMLTextAreaElement.type": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.value": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "1",
     "safari_ios": "1"
    }
   },
   "api.HTMLTextAreaElement.wrap": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "16",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "6",
     "safari_ios": "6"
    }
   },
   "html.elements.textarea": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3"
    }
   },
   "html.elements.textarea.autocomplete": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "66",
     "chrome_android": "66",
     "edge": "79",
     "firefox": "59",
     "firefox_android": "59",
     "safari": "9.1",
     "safari_ios": "9.3"
    }
   },
   "html.elements.textarea.cols": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.disabled": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.form": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.maxlength": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "4.2"
    }
   },
   "html.elements.textarea.minlength": {
    "baseline": "high",
    "baseline_high_date": "2020-10-30",
    "baseline_low_date": "2018-04-30",
    "support": {
     "chrome": "40",
     "chrome_android": "40",
     "edge": "17",
     "firefox": "51",
     "firefox_android": "51",
     "safari": "10.1",
     "safari_ios": "10.3"
    }
   },
   "html.elements.textarea.name": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.placeholder": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "5"
    }
   },
   "html.elements.textarea.placeholder.line_breaks": {
    "baseline": "high",
    "baseline_high_date": "2025-03-12",
    "baseline_low_date": "2022-09-12",
    "support": {
     "chrome": "36",
     "chrome_android": "36",
     "edge": "12",
     "firefox": "59",
     "firefox_android": "59",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "html.elements.textarea.readonly": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.required": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "4",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "5",
     "safari_ios": "5"
    }
   },
   "html.elements.textarea.rows": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "≤4",
     "safari_ios": "≤3.2"
    }
   },
   "html.elements.textarea.wrap": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "16",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "4",
     "firefox_android": "4",
     "safari": "6",
     "safari_ios": "6"
    }
   },
   "html.elements.textarea.wrap.hard": {
    "baseline": false,
    "support": {
     "chrome": "16",
     "chrome_android": "18",
     "edge": "12"
    }
   }
  },
  "support": {
   "chrome": "1",
   "chrome_android": "18",
   "edge": "12",
   "firefox": "1",
   "firefox_android": "4",
   "safari": "≤4",
   "safari_ios": "≤3"
  }
 },
 "id": "textarea",
 "groups": [
  "forms",
  "html-elements"
 ],
 "specs": [
  {
   "url": "https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element",
   "seriesComposition": "full",
   "shortname": "html",
   "series": {
    "shortname": "html",
    "currentSpecification": "html",
    "title": "HTML",
    "shortTitle": "HTML",
    "nightlyUrl": "https://html.spec.whatwg.org/multipage/"
   },
   "nightly": {
    "url": "https://html.spec.whatwg.org/multipage/",
    "status": "Living Standard",
    "sourcePath": "source",
    "alternateUrls": [],
    "repository": "https://github.com/whatwg/html",
    "pages": [
     "https://html.spec.whatwg.org/multipage/introduction.html",
     "https://html.spec.whatwg.org/multipage/infrastructure.html",
     "https://html.spec.whatwg.org/multipage/common-microsyntaxes.html",
     "https://html.spec.whatwg.org/multipage/urls-and-fetching.html",
     "https://html.spec.whatwg.org/multipage/common-dom-interfaces.html",
     "https://html.spec.whatwg.org/multipage/structured-data.html",
     "https://html.spec.whatwg.org/multipage/dom.html",
     "https://html.spec.whatwg.org/multipage/semantics.html",
     "https://html.spec.whatwg.org/multipage/sections.html",
     "https://html.spec.whatwg.org/multipage/grouping-content.html",
     "https://html.spec.whatwg.org/multipage/text-level-semantics.html",
     "https://html.spec.whatwg.org/multipage/links.html",
     "https://html.spec.whatwg.org/multipage/edits.html",
     "https://html.spec.whatwg.org/multipage/embedded-content.html",
     "https://html.spec.whatwg.org/multipage/images.html",
     "https://html.spec.whatwg.org/multipage/iframe-embed-object.html",
     "https://html.spec.whatwg.org/multipage/media.html",
     "https://html.spec.whatwg.org/multipage/image-maps.html",
     "https://html.spec.whatwg.org/multipage/embedded-content-other.html",
     "https://html.spec.whatwg.org/multipage/tables.html",
     "https://html.spec.whatwg.org/multipage/forms.html",
     "https://html.spec.whatwg.org/multipage/input.html",
     "https://html.spec.whatwg.org/multipage/form-elements.html",
     "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html",
     "https://html.spec.whatwg.org/multipage/interactive-elements.html",
     "https://html.spec.whatwg.org/multipage/scripting.html",
     "https://html.spec.whatwg.org/multipage/canvas.html",
     "https://html.spec.whatwg.org/multipage/custom-elements.html",
     "https://html.spec.whatwg.org/multipage/semantics-other.html",
     "https://html.spec.whatwg.org/multipage/microdata.html",
     "https://html.spec.whatwg.org/multipage/interaction.html",
     "https://html.spec.whatwg.org/multipage/dnd.html",
     "https://html.spec.whatwg.org/multipage/popover.html",
     "https://html.spec.whatwg.org/multipage/browsers.html",
     "https://html.spec.whatwg.org/multipage/nav-history-apis.html",
     "https://html.spec.whatwg.org/multipage/document-sequences.html",
     "https://html.spec.whatwg.org/multipage/browsing-the-web.html",
     "https://html.spec.whatwg.org/multipage/document-lifecycle.html",
     "https://html.spec.whatwg.org/multipage/speculative-loading.html",
     "https://html.spec.whatwg.org/multipage/webappapis.html",
     "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html",
     "https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html",
     "https://html.spec.whatwg.org/multipage/system-state.html",
     "https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html",
     "https://html.spec.whatwg.org/multipage/comms.html",
     "https://html.spec.whatwg.org/multipage/server-sent-events.html",
     "https://html.spec.whatwg.org/multipage/web-messaging.html",
     "https://html.spec.whatwg.org/multipage/workers.html",
     "https://html.spec.whatwg.org/multipage/worklets.html",
     "https://html.spec.whatwg.org/multipage/webstorage.html",
     "https://html.spec.whatwg.org/multipage/syntax.html",
     "https://html.spec.whatwg.org/multipage/parsing.html",
     "https://html.spec.whatwg.org/multipage/named-characters.html",
     "https://html.spec.whatwg.org/multipage/xhtml.html",
     "https://html.spec.whatwg.org/multipage/rendering.html",
     "https://html.spec.whatwg.org/multipage/obsolete.html",
     "https://html.spec.whatwg.org/multipage/iana.html",
     "https://html.spec.whatwg.org/multipage/indices.html",
     "https://html.spec.whatwg.org/multipage/references.html",
     "https://html.spec.whatwg.org/multipage/acknowledgements.html"
    ],
    "filename": "index.html"
   },
   "organization": "WHATWG",
   "groups": [
    {
     "name": "HTML Workstream",
     "url": "https://html.spec.whatwg.org/multipage/"
    }
   ],
   "title": "HTML",
   "source": "whatwg",
   "shortTitle": "HTML",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "close-watcher",
     "custom-elements",
     "eventsource",
     "html",
     "imagebitmap-renderingcontext",
     "import-maps",
     "navigation-api",
     "webmessaging",
     "webstorage",
     "workers",
     "worklets",
     "x-frame-options"
    ],
    "excludePaths": [
     "html/cross-origin-embedder-policy/credentialless",
     "html/dom/partial-updates/tentative",
     "html/cross-origin-embedder-policy/credentialless"
    ]
   },
   "fragment": "the-textarea-element"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/HTML/Reference/Elements/textarea",
   "title": "`<textarea>` HTML textarea element",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/textarea"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:textarea"
 },
 "developerSignals": null,
 "bugs": {
  "chrome": [
   "http://crbug.com/624361"
  ]
 },
 "useCases": null,
 "baselineLowDateAsObject": "2015-07-29T00:00:00.000Z",
 "baselineHighDateAsObject": "2018-01-29T00:00:00.000Z"
}