HTML <textarea> disabled attribute
HTML <textarea> tag
Example
A disabled text area:
<textarea rows="3" cols="25"
disabled="disabled">
At W3Schools you will find all the Web-building tutorials you need, from
basic HTML to advanced XML, SQL, ASP, and PHP.
</textarea> |
Try it yourself!
|
Definition and Usage
The disabled attribute specifies that a text area should be disabled. A disabled text area is unusable and un-clickable.
The disabled attribute can be set to keep a user
from using a text area until some other condition has been met (like selecting a
checkbox, etc.). Then, a JavaScript is required to remove the disabled value,
and make the text area usable.
Browser Support

The disabled attribute is supported in all major browsers.
Syntax
<texarea disabled="value">
|
Attribute Values
Value |
Description |
disabled |
Specifies that the text area should be disabled |
HTML <textarea> tag
The Altova MissionKit is a suite of intelligent XML tools, including:
XMLSpy® – industry-leading XML editor
- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more
MapForce® – graphical data mapping tool
- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services
StyleVision® – visual stylesheet designer
- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more
And more…
Try before you buy with a free fully functional 30-day trial
Download today
|