Tuesday, 23.07.2019, 19:23
Welcome Guest
All Html Tags

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor

optgroup Tag in Html

Option group. Defines a group of option elements in a select form field.

optgroup Tag Attributes

label - is used to assign a label to the option group.
disabled - can be used to disable an element. It must be used in the format disabled="disabled".

Browser Support



<select name="catsndogs">
<optgroup label="Cats">
<optgroup label="Dogs">
<option>Grey Wolf</option>
<option>Red Fox</option>

HtmlCodeExamples.Com © 2019