HTMLInputElement Propriétés: accept : string // type="file" accessKey : string align : string [deprecated] allowdirs : boolean // type="file" alt : string // type="image" autocapitalize autofocus : boolean autocomplete : string checked : boolean className : string defaultChecked : boolean defaultValue : string dirName : string disabled : boolean enabled : boolean files : FileList // type="file" form : HTMLFormElement formAction : string formEncType : string formMethod : string formNoValidate : boolean formTarget : string height : string // type="image" id : string indeterminate : boolean [HTML5] labels : NodeList list : HTMLElement min : string [HTML5] max : string [HTML5] maxLength : long multiple : boolean name : string pattern : string [HTML5] placeholder : string [HTML5] readOnly : boolean required : boolean [HTML5] selectionStart : unsigned long selectionEnd : unsigned long selectionDirection : string size : unsigned long src : string // type="image" step : string type : string value : string valueAsDate : Date valueAsNumber : double validity : ValidityState [HTML5] validationMessage : string [HTML5] width : string // type="image" willValidate : boolean [HTML5] useMap : string [deprecated] Fonctions: blur() checkValidity() click() focus() select() setRangeText() setCustomValidity(string message) setSelectionRange() stepDown() stepUp() Exemples: /* vérifier le support du type date */ const input = document.createElement('input'); input.type = 'date'; const inputDateAreSupported = input.type !== 'text'; if (!inputDateAreSupported) { // add calendar support here } Références MDN HTMLInputElement WhatWG HTMLInputElement HTML5 HTMLInputElement DOM L2 HTMLInputElement DOM L1 HTMLInputElement