TAG per i moduli
| Per esteso | Attributi | Altro | |
|---|---|---|---|
| BUTTON | |||
| autofocus disabled form formaction formenctype formmethod formnovalidate formtarget name type value | |||
| FIELDSET | |||
| disabled | |||
| FORM | |||
| action method name enctype target | |||
| INPUT | |||
| checked disabled maxlength name placeholder readonly size type value | Singolo | ||
| LABEL | |||
| for form | |||
| LEGEND | |||
| align | Con FIELDSET | ||
| OPTGROUP | Option group | ||
| disabled label | Con SELECT | ||
| OPTION | |||
| disabled selected value | Con SELECT | ||
| SELECT | |||
| disabled multiple name size | |||
| TEXTAREA | |||
| cols disabled maxlength name placeholder readonly rows wrap |
ATTRIBUTI per i moduli
| Per esteso | Valori | Con i tag | |
|---|---|---|---|
| action | |||
| URL | FORM | ||
| align | |||
| “bottom” “center” “left” “right” “top” | LEGEND | ||
| autofocus | |||
| “autofocus” | BUTTON | ||
| checked | |||
| “checked” | INPUT > “checkbox” INPUT > “radio” | ||
| cols | Columns | ||
| numero | TEXTAREA | ||
| disabled | |||
| “disabled” | BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA | ||
| enctype | Encryption type | ||
| “application/x-www-form-urlencoded” “MIME” “multipart/form-data” | FORM | ||
| hidden | |||
| “hidden” | Tutti… | ||
| id | Identifier | ||
| testo | Tutti… | ||
| label | |||
| testo | OPTGROUP | ||
| maxlength | Maximum length | ||
| numero | INPUT > “password” INPUT > “text” TEXTAREA | ||
| method | |||
| “get” “post” | FORM | ||
| multiple | |||
| “multiple” | SELECT | ||
| name | |||
| testo | FORM INPUT SELECT TEXTAREA Tutti… | ||
| placeholder | |||
| numero testo | INPUT TEXTAREA | ||
| readonly | |||
| “readonly” | INPUT TEXTAREA | ||
| rows | |||
| numero | TEXTAREA | ||
| selected | |||
| “selected” | OPTION | ||
| size | |||
| numero | INPUT SELECT | ||
| tabindex | Tabulation index | ||
| numero | A BUTTON INPUT SELECT TEXTAREA | ||
| target | … | ||
| “_blank” “_parent” “_self” “_top” … | A FORM | ||
| type | … | ||
| “button” “reset” “submit” | BUTTON | ||
| “button” “checkbox” “color” “date” “file” “hidden” “image” “number” “password” “radio” “range” “reset” “submit” “text” | INPUT | ||
| value | … | ||
| numero testo | INPUT OPTION | ||
| wrap | … | ||
| “off” “virtual” | TEXTAREA |
VALORI costanti per i moduli
| Con gli attributi | Nei tag | |
|---|---|---|
| “checkbox” | ||
| type | INPUT | |
| “checked” | ||
| checked | INPUT > “checkbox” INPUT > “radio” | |
| “color” | ||
| type | INPUT | |
| “date” | ||
| type | INPUT | |
| “disabled” | ||
| disabled | BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA | |
| “get” | ||
| method | FORM | |
| “multiple” | ||
| multiple | SELECT | |
| “number” | ||
| type | INPUT | |
| “off” | ||
| wrap | TEXTAREA | |
| “password” | ||
| type | INPUT | |
| “post” | ||
| method | FORM | |
| “radio” | ||
| type | INPUT | |
| “range” | ||
| type | INPUT | |
| “readonly” | ||
| readonly | INPUT > “text” INPUT > “password” TEXTAREA | |
| “reset” | ||
| type | BUTTON INPUT | |
| “selected” | ||
| selected | OPTION | |
| “submit” | ||
| type | BUTTON INPUT | |
| “text” | ||
| type | INPUT | |
| “virtual” | ||
| wrap | TEXTAREA |
Attenzione…
L’attributo type di INPUT decide il tipo di campo e di conseguenza gli attributi corrispondenti…
| Attributi | … | …. | … | … | |
|---|---|---|---|---|---|
| “checkbox” | checked | name | |||
| “color” | name | value | |||
| “date” | max min step | name | value | ||
| “number” | max min step | name | value | ||
| “password” | maxlength placeholder size | name | value | ||
| “radio” | checked | name | value | ||
| “range” | max min step | name | value | ||
| “reset” | value | ||||
| “submit” | value | ||||
| “text” | maxlength placeholder size | name | value |
VALORI per i moduli
| Con gli attributi | Nei tag | |
|---|---|---|
| colore | ||
| value | INPUT > “color” | |
| numero | ||
| cols | TEXTAREA | |
| maxlength | INPUT > “password” INPUT > “text” TEXTAREA | |
| rows | TEXTAREA | |
| size | INPUT > “password” INPUT > “text” SELECT | |
| tabindex | Tutti… | |
| testo | ||
| label | OPTGROUP | |
| name | Tutti … | |
| placeholder | INPUT TEXTAREA | |
| value | INPUT | |
| URL | ||
| action | FORM |