Riepilogo MODULI

TAG per i moduli

Per estesoAttributiAltro
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
 alignCon FIELDSET
OPTGROUPOption 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 estesoValoriCon i tag
action 
URLFORM
align 
“bottom”
“center”
“left”
“right”
“top”
LEGEND
autofocus 
“autofocus”BUTTON
checked 
“checked”INPUT > “checkbox”
INPUT > “radio”
colsColumns
numeroTEXTAREA
disabled
“disabled”BUTTON
INPUT
OPTGROUP
OPTION
SELECT
TEXTAREA
enctypeEncryption type
“application/x-www-form-urlencoded”
“MIME”
“multipart/form-data”
FORM
hidden
 “hidden”Tutti…
idIdentifier
testoTutti…
label
 testoOPTGROUP
maxlengthMaximum length
numeroINPUT > “password”
INPUT > “text”
TEXTAREA
method
 “get”
“post”
FORM
multiple
 “multiple”SELECT
name
 testoFORM
INPUT
SELECT
TEXTAREA
Tutti…
placeholder
 numero
testo
INPUT
TEXTAREA
readonly
 “readonly”INPUT
TEXTAREA
rows
 numeroTEXTAREA
selected
“selected”OPTION
size
 numeroINPUT
SELECT
tabindexTabulation index
numeroA
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 attributiNei tag
“checkbox”
typeINPUT
“checked”
checkedINPUT > “checkbox”
INPUT > “radio”
“color”
typeINPUT
“date”
typeINPUT
“disabled”
disabledBUTTON
INPUT
OPTGROUP
OPTION
SELECT
TEXTAREA
“get”
methodFORM
“multiple”
multipleSELECT
“number”
typeINPUT
“off”
wrapTEXTAREA
“password”
typeINPUT
“post”
methodFORM
“radio”
typeINPUT
“range”
typeINPUT
“readonly”
readonlyINPUT > “text”
INPUT > “password”
TEXTAREA
“reset”
typeBUTTON
INPUT
“selected”
selectedOPTION
“submit”
typeBUTTON
INPUT
“text”
typeINPUT
“virtual”
wrapTEXTAREA

Attenzione…

L’attributo type di INPUT decide il tipo di campo e di conseguenza gli attributi corrispondenti…

Attributi….
“checkbox”checked  name 
“color”   namevalue
“date” max
min
step
 namevalue
“number” max
min
step
 namevalue
“password”  maxlength
placeholder
size
namevalue
“radio”checked  namevalue
“range” max
min
step
 namevalue
“reset”    value
“submit”    value
“text”  maxlength
placeholder
size
namevalue

VALORI per i moduli

Con gli attributiNei tag
colore
valueINPUT > “color”
numero
colsTEXTAREA
 maxlengthINPUT > “password”
INPUT > “text”
TEXTAREA
 rowsTEXTAREA
 sizeINPUT > “password”
INPUT > “text”
SELECT
 tabindexTutti…
testo
labelOPTGROUP
 nameTutti …
 placeholderINPUT
TEXTAREA
 valueINPUT
URL
actionFORM