HTML CSS Reference/HTML Attributes Reference/disabled
"disabled" Example
<HTML>
<head><Title>Example For disabled</Title></head>
<BODY>
<form>
<input type="button" value="This button is enabled">
<input disabled=true type="button" value="This button is disabled">
</form>
</BODY>
</HTML>
disabled is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <acronym> |
| |<address> <b> |
| |<bdo> <big> |
| |<blockquote> <body> |
| |<button> <caption> |
| |<center> <cite> |
| |<code> <custom> |
| |<dd> <del> |
| |<dfn> <dir> |
| |<div> <dl> |
| |<dt> <em> |
| |<fieldset> <font> |
| |<form> <hn> |
| |<i> <input type="button"> |
| |<input type="checkbox"> <input type="file"> |
| |<input type="image"> <inputtype="password"> |
| |<input type="radio"> <input type="reset"> |
| |<inputtype="submit"> <input type="text"> |
| |<ins> <isindex> |
| |<kbd> <label> |
| |<legend> <li> |
| |<listing> <marquee> |
| |<menu> <nobr> |
| |<ol> <optgroup> |
| |<option> <p> |
| |<pre> <q> |
| |<rt> <ruby> |
| |<s> <samp> |
| |<select> <small> |
| |<strike> <strong> |
| |<sub> <sup> |
| |<textarea> <tt> |
| |<u> <ul> |
| |<var> <xmp> |
+----------------+--------------------------------------------------------------+
"disabled" Syntax and Note
Note:
This attribute sets the enabled state of an element.
disabled is a Boolean attribute,
Possible values are false and true.
false is the default value.
Syntax:
<element disabled="value" > . . . </element>