HTML <textarea> disabled attribute
Definition and Usage
disabled
The attribute is a boolean attribute.
When present, it specifies that the text area should be disabled.
Disabled text area is not available and text cannot be selected (cannot be copied).
Can be set disabled
Properties, which prevent users from using the text area until other conditions are met (for example, checking a checkbox, etc.). Then, JavaScript can remove the disabled value, making the text area available.
Example
ສະຫະບັນຫຼັກທີ່ຖືກຫ້າມນໍາໃຊ້:
<textarea disabled> ໃນ codew3c.com, ທ່ານຈະຮຽນການພັດທະນາເວັບໄຊ. ພວກເຮົາສະໜອງການສຶກສາສຳລັບເຕັກນິກພາບເວັບໄຊທັງໝົດ ສຳລັບການສຶກສາສະເໜີທີ່ບໍ່ເສຍຄ່າ. </textarea>
Syntax
<textarea disabled>
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |