HTML <optgroup> tagHTML <optgroup> tag is used to group related <options> in a drop down list within <select> element. Using <optgroup> tag with <select> makes easier to access the dropdown list especially if list has large number of options. SyntaxFollowing are some specifications about the HTML <optgroup> tag
ExampleTest it NowOutput: ![]() Attribute:Tag-specific attributes:
Global attribute:HTML <optgroup> tag supports the global attributes in HTML Event attribute:HTML <optgroup> tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML option Tag
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week