Alignment
Basics
Character Codes
Colors
CSS
DIVS
Forms
Frames
Links
Lists and Bullets
Meta Tags
Multimedia
Pictures
Spacing
Tables
Text
Checkbox
Disable a Field
Field Length
Field Size
Hidden Field
Image Button
Initial Value
Password Field
Radio Button
Reset Button
Selection List
Submit Button
Text Field
Textarea
Disable a Field
314
Disable a Field
Description
Too disable a field, add the text "DISABLE" to the field.
Code
<INPUT TYPE="TEXT" NAME="hello" disabled>
<p>
<INPUT TYPE="PASSWORD" NAME="pass1" disabled>
<p>
<INPUT TYPE="radio" NAME="button" disabled>
Output
Practice
<INPUT TYPE="TEXT" NAME="hello" disabled> <p> <INPUT TYPE="PASSWORD" NAME="pass1" disabled> <p> <INPUT TYPE="radio" NAME="button" disabled>
Advertisements