TAG
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 esteso | Valori | Con i tag | |
action |
… | URL | FORM |
align |
|
LEGEND | |
autofocus |
|
BUTTON | |
checked | … |
|
INPUT (“checkbox” / “radio”) |
cols | Columns | numero | TEXTAREA |
disabled | … |
|
BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA |
enctype | Encryption type |
|
FORM |
hidden |
|
Tutti… | |
id | Identifier | testo | Tutti… |
label | … | testo | OPTGROUP |
maxlength | … | numero | INPUT (“password” / “text”) |
method |
… |
|
FORM |
multiple | … |
|
SELECT |
name |
… | testo | A FORM INPUT SELECT TEXTAREA Tutti… |
placeholder |
… | testo | INPUT TEXTAREA |
readonly | … |
|
INPUT TEXTAREA |
rows | … | numero | TEXTAREA |
selected | … |
|
OPTION |
size | … | numero | SELECT |
tabindex | Tabulation index |
numero | A BUTTON INPUT SELECT TEXTAREA |
target | … |
|
A FORM |
type |
… |
|
BUTTON |
|
INPUT | ||
|
INPUT | ||
value |
… | testo |
INPUT OPTION |
wrap | … |
“hard” / “soft” |
TEXTAREA |
Valori predefiniti
Con gli attributi | Nei tag | |
“checkbox” | type | INPUT |
“checked” | checked | INPUT (“checkbox” / “radio”) |
“disabled” | disabled | BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA |
“get” |
method | FORM |
“multiple” | multiple | SELECT |
“off” | wrap | TEXTAREA |
“password” |
type | INPUT |
“post” |
method | FORM |
“radio” | 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 |
Valori NON predefiniti
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 |
Attenzione…
L’attributo type di INPUT decide il tipo di campo e di conseguenza gli attributi corrispondenti…
“text” |
name | value | maxlength | size | … |
“password” |
name | value | maxlength | size | … |
“submit” |
. | value | . | . | . |
“reset” |
. | value | . | . | . |
“checkbox” |
name | . | . | . | checked |
“radio” |
name | value | . | . | checked |
… | … | … | … | … | … |