Latest web development tutorials

oggetti pulsante HTML DOM

Button Objects

Pulsante oggetto rappresenta un pulsante.

In un documento HTML <tasto> tag appare ogni volta, viene creata oggetto Button.

Nella elemento pulsante HTML è possibile aggiungere contenuti, come testo o immagine, che è diverso da i tasti di ingresso (pulsante) tipo.


attributi Pulsante oggetto.

W3C: standard W3C.

属性 描述 W3C
disabled 设置或返回是否禁用按钮。 Yes
form 返回对包含按钮的表单的引用。 Yes
name 设置或返回按钮的名称。 Yes
type 返回按钮的表单类型。 Yes
value 设置或返回显示在按钮上的文本。 Yes

proprietà ed eventi standard

Pulsante oggetto supporta anche lo standard attributi ed eventi .