-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New pages: HTML<formelements>Element.value properties #35641
Conversation
Preview URLs
Flaws (9)Note! 1 document with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
(comment last updated: 2024-08-30 18:39:43) |
|
||
{{ APIRef("HTML DOM") }} | ||
|
||
The **`value`** property of the {{DOMxRef("HTMLTextAreaElement")}} interface represents the value of the {{htmlelement("textarea")}} element as a string, which is an empty string if the widget contains no content. It reflects the raw value contained in the control. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Reflect attribute x
" is a proper term in HTML, which means it acts as a proxy for getting/setting the attribute value. Therefore you don't use "reflect" for anything other than attributes. (You can know whether a property reflects an attribute by checking the spec.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to "returns or sets"
Co-authored-by: Joshua Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixed a few typos. This looks great!
part of #35544