国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

directory search
Attributes accesskey (attribute) class (attribute) contenteditable (attribute) contextmenu (attribute) data-* (attribute) dir (attribute) draggable (attribute) dropzone (attribute) Global attributes hidden (attribute) id (attribute) itemid (attribute) itemprop (attribute) itemref (attribute) itemscope (attribute) itemtype (attribute) lang (attribute) slot (attribute) spellcheck (attribute) style (attribute) tabindex (attribute) title (attribute) translate (attribute) Elements a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 head header hr html i iframe img input input type="button" input type="checkbox" input type="color" input type="date" input type="datetime"-local input type="email" input type="file" input type="hidden" input type="image" input type="month" input type="number" input type="password" input type="radio" input type="range" input type="reset" input type="search" input type="submit" input type="tel" input type="text" input type="time" input type="url" input type="week" ins kbd label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track u ul var video wbr Miscellaneous Attributes Block-level elements CORS enabled image CORS settings attributes Element Inline elements Kinds of HTML content Link types Microdata Optimizing your pages for speculative parsing Preloading content Reference Supported media formats Using the application cache Obsolete acronym applet basefont big blink center command content dir element font frame frameset hgroup image input type="datetime" isindex keygen listing marquee nextid noframes plaintext strike tt xmp
characters

已廢棄

此功能已過(guò)時(shí)。 雖然它可能仍然在某些瀏覽器中工作,但不鼓勵(lì)使用它,因?yàn)樗赡茈S時(shí)被刪除。 盡量避免使用它。

注意:command元素已經(jīng)被Gecko 24.0引擎移除以利于<menuitem>元素。Firefox從未支持command元素,并且在Firefox 24中刪除了對(duì)HTMLCommandElementDOM接口的實(shí)現(xiàn)。

command元素表示用戶(hù)可以調(diào)用的命令。

內(nèi)容類(lèi)別

Flow content, phrasing content, metadata content.

允許的內(nèi)容

否, 它是一個(gè)空元素

標(biāo)簽遺漏

必須有開(kāi)始標(biāo)簽, 不可以有結(jié)束標(biāo)簽。

允許的父元素

任何可以包含 phrasing content的元素

DOM 接口

HTMLCommandElement Obsolete since Gecko 24

屬性

該元素包括全局屬性

checked表明該元素已被選擇, 除非元素的type屬性是checkbox 或radio,否則該屬性必須被省略.

disabled表明該command元素已經(jīng)被禁用.

icon用一張圖片來(lái)顯示該command元素.

label該command元素的名稱(chēng).用來(lái)顯示給用戶(hù).

radiogroup如果該元素的type屬性為radio,則radiogroup屬性用來(lái)表示這一組command元素的公用名稱(chēng). 如果type屬性不是radio,則radiogroup屬性必須省略.

type該屬性用來(lái)表明command元素的類(lèi)型,可以是下面三種值。

  • command 或者清空,這是默認(rèn)狀態(tài),并表示這是一個(gè)正常的命令。

  • checkbox 表示該命令可以使用復(fù)選框進(jìn)行切換。

  • radio 表示該命令可以使用單選按鈕切換。

示例

<command type="command" label="Save" icon="icons/save.png" onclick="save()">

規(guī)范

規(guī)范

狀態(tài)

評(píng)論

HTML Living Standard該規(guī)范中'<command>'的定義。

生活水平


HTML5該規(guī)范中'<command>'的定義。

建議


瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

No

No

No1

No

No

No

checked

No

No

No

No

No

No

disabled

No

No

No

No

No

No

icon

No

No

No

No

No

No

label

No

No

No

No

No

No

radiogroup

No

No

No

No

No

No

type

No

No

No

No

No

No

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

No

No

No

No1

No

No

No

checked

No

No

No

No

No

No

No

disabled

No

No

No

No

No

No

No

icon

No

No

No

No

No

No

No

label

No

No

No

No

No

No

No

radiogroup

No

No

No

No

No

No

No

type

No

No

No

No

No

No

No

Previous article: Next article: