HTML CSS Reference/HTML Attributes Reference/readonly
Версия от 09:21, 26 мая 2010; (обсуждение)
"readonly" Example
<HTML>
<head><Title>Example For readonly</Title></head>
<BODY>
<input type="text" name="tfd" value="This text field is not editable" readonly size="30">
</BODY>
</HTML>
readonly is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<input type="password"> <input type="text"> |
| |<textarea> |
+----------------+--------------------------------------------------------------+
"readonly" Syntax and Note
Note:
Whether the content of an element is read-only or not.
Syntax:
<element readonly> . . . </element>