Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML command radiogroup attribute

HTML radiogroup attribute

HTML command Tag Reference HTML tag

Example

A command belonging to a radiogroup element:

Left

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently, almost all major browsers do not support the radiogroup attribute.


Definition and Usage

The radiogroup attribute specifies the name of the command group that is toggled when the command is activated or switched.

**Note:** This attribute can only be used with normal commands of type "radio", that is, only when type="radio".


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Syntax

Attribute values

Value Description
groupname Specifies the name of the command group to be toggled when the command is activated or switched (only for type="radio").

HTML command Tag Reference HTML tag