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
Hidden Field
Disable a Field
314
Disable a Field
Description
To 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 (
add your ad
)