-->

HTML optgroup Tag

HTML <optgroup> tag

HTML <optgroup> tag



HTML optgroup tag: 

This is a double tag. <optgroup> This is the beginning tag and </optgroup>  this is the closing  tag. The <optgroup> elemant defines Group related options. This tag using for group related options in a drop-down list. long list of options, groups of related options are easy to handle this.



<opthroup>=option related group.
Copy this code and past your page.




Example:

Result:







Support Browser
HTML <optgroup> tag
Browser
HTML <optgroup> tag
Google 
 Chrome  
HTML <optgroup> tag
Internet
Explorer
HTML <optgroup> tag
Firefox
HTML <optgroup> tag
Opera  
HTML <optgroup> tag
 Safari   
<opthroup>
YesYes Yes Yes Yes





  • Elements Attributes:  disabled label etc.



    • Html Version Differenc: Differences Between HTML 5 and 4.01.

    NONE.



    If you want to make options related group using HTML code, Use HTML<opthroup> element.


    1. What is the <optgroup> tag ?

    2. What is the  <optgroup> tag using for?

    3. What is the definition of <optgroup> tag ?

    4. What is the <optgroup> tag mean ?

    5.How can You make options related group ? 

    Facebook Comments

    Follow by Email