Skip to Content


Public news / July 2006 / The optgroup

The optgroup

The optgroup tag is used within the select tag and is used to place data wich CANNOT be selected

permanent link 28 jul at 11:14 by Fransjo Leihitu

There are 11 guest comments so far.

commentat 13:57 on 28 July 2006, Adam wrote:

Err what's new about it?

commentat 15:58 on 29 July 2006, paul haine wrote:

Obviously it isn't new, but as people still keep using artificial '---' dividers to group their select options, it's still not well-known.

, it's a nice little tag, but a bit tricky/impossible to style.

commentat 08:12 on 31 July 2006, Mike wrote:

In the example given the optgroup elements are incorrectly marked up, the option elements are supposed to be nested inside the optgroup elements, not above, just thought I'd point that out :)

commentat 18:00 on 31 July 2006, Fransjo wrote:

ah ok thx Mike ... only had this example ...

To Paul: I knew it wasn't new ... but I do know a lot of people don't know it. So I hope more people will use it ;-)

commentat 15:58 on 18 June 2008, zeka oyunları wrote:

"-Thanks for this good blog text.3,

))

commentat 11:22 on 19 June 2008, bedava oyunlar wrote:

*-very nice, thanks//*

commentat 14:04 on 19 June 2008, 2 kişilik oyunlar wrote:

€-very goods+*-/

commentat 10:38 on 24 June 2008, oyun wrote:

!Thanks, for this good blog tex.

*

commentat 12:34 on 01 July 2008, oyunlar wrote:

_thanks_aei

commentat 09:36 on 03 July 2008, komik oyunlar wrote:

nice very much+1++

commentat 09:42 on 03 July 2008, oyunlar wrote:

nice, --very goods! ,b.sç

Add a comment:

(required, non-public)

  |  Chars left: 1000

Keep the comment relevant, constructive and be polite.
A valid email address or URL to your site must be provided, or the comment might get deleted. Content seemed inappropriate or offensive may be edited and/or deleted. Avoid explicit language and words such as "sucks" and "ripoff". For more in-depth discussions use our forum. Email addresses are never displayed. Line breaks and paragraphs are automatically converted - no need to use <p> or <br/>. Quotes & apostrophes are automatically converted to smart punctuation. Be careful when copying and pasting portions of entries or other comments. The following inline HTML elements may be used: <strong><em><pre><q><blockquote><code>. All other code will get removed before posting. Don't forget to close your tags.


Search the archive

Stylegala news archive

Public news archive

News contributors


Features

Stylegala BookStore
The Stylegala BookStore has a massive archive of great books for you as a professional..
Bullet madness
Bullet madness is a list of 200 bullets, arrows and icons uploaded by our users.
CSS Reference
An alphabetical list over the most common CSS1 and CSS2 syntax and properties.

Sponsors

Logo design for $149

Advertise here