input

Universalattribute

class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title

Eventattribute

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

AttributWerteBemerkung
Universalattribute
Eventattribute
type
  • button
  • checkbox
  • color
  • date
  • datetime
  • datetime-local
  • email
  • file
  • hidden
  • image
  • month
  • number
  • password
  • radio
  • range
  • reset
  • search
  • submit
  • tel
  • text
  • time
  • url
  • week

Beispiel

$_POST['fname']:
Warning: Undefined array key "fname" in /home/webmxuana/html/html5/input.php on line 48

$_POST['']


Warning: Undefined array key "button" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "checkbox" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "color" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "date" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "datetime" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "datetime" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "datetime-local" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "datetime-local" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "email" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "email" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "file" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "hidden" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "hidden" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "image" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "image" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "month" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "month" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "number" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "number" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "password" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "radio" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "radio" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "range" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "range" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "reset" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "reset" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "search" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "search" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "speech" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "speech" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "submit" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "submit" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "tel" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "tel" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "text" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "time" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "time" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "url" in /home/webmxuana/html/html5/input.php on line 72

Warning: Undefined array key "week" in /home/webmxuana/html/html5/input.php on line 71

Warning: Undefined array key "week" in /home/webmxuana/html/html5/input.php on line 72
input typeDisplay that typeChrome 9.0Opera 11.01
button
checkbox (e.g. Are you a student?)
color (e.g. Whats your favorite color?)
date (e.g. Whats your birthday?)
datetime
datetime-local
email
file (e.g. Please upload a photo)
hidden
image
month
number
password
radio
range
reset
search
speech
submit
tel
text (e.g. Whats your first name?)
time
url (e.g. Whats your home page?)
week
text x-webkit-speech

Additional attributes

email (with pattern)

search (with placeholder)

Indicate validation errors

Opera 11.01 indicates an validation error of an type="email" element like this:

Support

Currently Firefox 3.6 doesn't support many elements: button, checkbox, file, hidden, image, password, radio, reset and submit.

Internet Explorer 8.0 doesn't support many elements: