1 HTML Basics - All about attributes and tags [Part 2] Fri Nov 18, 2011 3:34 am
Gassy
Form Attributes | Possible values | Description | |
action | <?php echo $PHP_SELF;?> | Where to send the form-data | |
name | gassy_name | This is a name for the form | |
enctype | multipart/form-data | text/plain | How should be encoded form-data |
method | get | post | Method of sending form-data |
Input Attributes | Possible values | Description | |
checked | checked | For type="checkbox" or type="radio" | |
disabled | disabled | Specify an disabled input, can't write or check | |
readonly | readonly | Can only read the text, can't write or edit | |
maxlength | 16 | Can write maximum as a specified number | |
size | 12 | Specify width of an field | |
name | gassy_name | This is a name for the input | |
value | Submit | Specify a value for the input | |
src | It works only for type="image" | ||
type | |||
checkbox | radio | text | password |
button | image | reset | submit |
file | hidden |
Txt.A Attributes | Possible values | Description | |
cols | 10 | Specify a visible width of textarea | |
rows | 12 | Specify a visible height of textarea | |
name | gassy_name | This is a name for the textarea | |
readonly | readonly | Can only read the text, can't write or edit | |
disabled | disabled | Specify a disabled txt.a, can't write |
Button Attributes | Possible values | Description | ||
type | button | reset | submit | Specify the type of the button |
name | gassy_name | This is a name for the button tag | ||
value | Submit | Specify a value for the button tag | ||
disabled | disabled | Specify a disabled button, can't click |
Written by Gassy! Please note that this tutorial is copyrighted & created only for CodePhase. If you post this tutorial on your forum without permission of the administrator the risk of your forum been shut down, is high! Thanks for the editing the message |
Last edited by Gassy on Sat Nov 19, 2011 10:44 pm; edited 5 times in total