[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/zh-CN/docs/Web/API/HTMLInputElement [Back]  [Original]

HTMLInputElement - Web API | MDN

MDN Web Docs

View in English Always switch to English

HTMLInputElement

*

20157

*

HTMLInputElement <input>

EventTarget Node Element HTMLElement HTMLInputElement

HTMLElement

align

CSS

defaultValue

HTML

dirName

incremental

true Enter

labels

<label>

list

list HTML null

multiple

multiple

name

name

popoverTargetAction

type="button" <input> "hide""show" "toggle" popovertargetaction HTML

popoverTargetElement

type="button" <input> popovertarget HTML

step

step min max any any

type

type type

useMap

value

valueAsDate

Date null

valueAsNumber

NaN

form

<form>

formAction

formaction URI action

formEnctype

formenctype enctype

formMethod

formmethod HTTP method

formNoValidate

formnovalidate novalidate

formTarget

formtarget target

disabled

disabled readonly

required

required

validationMessage

willValidate false setCustomValidity()

validity

willValidate

false type hiddenreset button <datalist> disabled true

checked

defaultChecked

HTML

indeterminate

/ checked

alt

alt

height

height

src

src URI

width

width

accept

accept

files

FileList

webkitdirectory

webkitdirectory true

webkitEntries

autocomplete

autocomplete

capture

capture

max

max min

maxLength

maxlength Unicode

min

min max

minLength

minlength Unicode

pattern

pattern title type textsearchtelurl email

placeholder

placeholder type textsearchtelurl email

readOnly

readonly type hiddenrangecolorcheckboxradiofile

selectionDirection

forwardbackward none

selectionEnd

selectionStart

size

size type text password type textsearchtelurlemail password

HTMLElement

checkValidity()

false invalid true

reportValidity()

checkValidity() false

select()

setCustomValidity()

setRangeText()

setSelectionRange()

showPicker()

stepDown()

step * n value n 1

stepUp()

step * n value n 1

HTMLElement

addEventListener() oneventname

invalid

type="search" <input>

select

selectionchange

<input>

HTML
# htmlinputelement


Web Proxy Viewer  |  New URL  |  Original Page