VOOZH about

URL: https://www.geeksforgeeks.org/html/html-optgroup-label-attribute/

⇱ HTML | <optgroup> label Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML | <optgroup> label Attribute

Last Updated : 26 Jul, 2022
The HTML optgroup label Attribute is used to specify a label for an <optgroup> Element. Syntax:
<optgroup label="text"> 
Attribute Values: It contains the value i.e text which specify the description for a optgroup Element. Example: Output: 👁 Image
Supported Browsers: The browsers supported by HTML optgroup label Attribute are listed below:
  • Google Chrome 1
  • Edge 12
  • Internet Explorer 5.5
  • Firefox 1
  • Apple Safari
  • Opera
Comment
Article Tags: