Latest web development tutorials

HTML command radiogroup property

Tag Reference HTML command HTML <command> tag

Examples

Radiogroup of belonging to a <command> element:

<menu>
<command type="radio" label="Left" radiogroup="alignment" onclick="setAlign('left')">Left</command>
</menu>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently, almost all the mainstream browsers do not support radiogroup property.


Definition and Usage

radiogroup attribute specifies the name of the command set when the command is activated or switched, the command set is switched.

Note: This property can only be used as a type of "radio" ordinary command, which is available only when type = "radio".


Differences between HTML 4.01 and HTML5

<Command> tag is new in HTML5 tags.


grammar

<command radiogroup="groupname">

Property Value

描述
groupname 规定当命令被激活或切换时将被切换的命令组的名称(仅适用于 type="radio")。


Tag Reference HTML command HTML <command> tag