TAG per i moduli
Per esteso | Attributi | Altro | |
BUTTON |
|
||
FIELDSET |
|
||
FORM |
|
||
INPUT |
|
Singolo | |
LABEL |
|
||
LEGEND |
|
Con FIELDSET | |
OPTGROUP |
Option group |
|
Con SELECT |
OPTION |
|
Con SELECT | |
SELECT |
|
||
TEXTAREA |
|
ATTRIBUTI per i moduli
Per esteso | Valori | Con i tag | |
action |
|
FORM | |
align |
|
LEGEND | |
autofocus |
|
BUTTON | |
checked |
|
INPUT (“checkbox” / “radio”) | |
cols |
Columns |
|
TEXTAREA |
disabled |
|
BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA |
|
enctype | Encryption type |
|
FORM |
hidden |
|
Tutti… | |
id | Identifier |
|
Tutti… |
label |
|
OPTGROUP | |
maxlength |
Maximum length |
|
INPUT (“password” / “text”) TEXTAREA |
method |
|
FORM | |
multiple |
|
SELECT | |
name |
|
FORM INPUT SELECT TEXTAREA Tutti… |
|
placeholder |
|
INPUT TEXTAREA |
|
readonly |
|
INPUT TEXTAREA |
|
rows |
|
TEXTAREA | |
selected |
|
OPTION | |
size |
|
INPUT SELECT |
|
tabindex | Tabulation index |
|
A BUTTON INPUT SELECT TEXTAREA |
target |
|
A FORM |
|
type |
|
BUTTON | |
|
INPUT | ||
value |
… |
|
INPUT OPTION |
wrap |
… |
|
TEXTAREA |
VALORI, predefiniti, per i moduli
Con gli attributi | Nei tag | |
“checkbox” |
type | INPUT |
“checked” |
checked | INPUT (“checkbox” / “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” / “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 disponibili | |||||
“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, non predefiniti, per i moduli
Con gli attributi | Nei tag | |
“numero” |
cols | TEXTAREA |
maxlength | INPUT (“password” / “text”) TEXTAREA |
|
rows | TEXTAREA | |
size | INPUT (“password” / “text”) SELECT |
|
tabindex | Tutti… | |
“testo” |
label | OPTGROUP |
name | Tutti … | |
placeholder | INPUT TEXTAREA |
|
value | INPUT | |
“URL” |
action | FORM |