spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

Sr Instructional Designer D2L-Moodle,Clearance
WSI Nationwide, Inc.
US-NJ-Fort Monmouth

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Option Group

<optgroup> ... </optgroup>

Description: Defines a group of options within a selection list.

Browser Compatibility: NN: 6.0+ / IE: 6.0+

Attributes:
  • class
  • dir
  • disabled
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • style
  • title

Code Example:

<select>
<optgroup label="colors">
    <option>Blue</option>
    <option>Green</option>
</optgroup>
</select>

Comments: This element should only be used within the <select> element.




internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/