hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : HTML Select Menu w/ Headings

Forum Jump

HTML Select Menu w/ Headings

Reply Post New Thread In Programming Discussion Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 04-15-2007, 12:18 AM
globaltap globaltap is offline
Registered User
Join Date: May 2006
Posts: 27

HTML Select Menu w/ Headings

I know i have seen an html select menu that had headings and was categorized. It looked like this:

Any help would be appreciated.


Sponsored Links
Old 04-15-2007, 02:07 AM
IAIHMB IAIHMB is offline
Join Date: Apr 2007
Posts: 11
That would be HTML's OPTGROUP element:

    <optgroup label="Category 1">
        <option>Option 1...</option>
        <option>Option 2...</option>
        <option>Option 3...</option>
    <optgroup label="Category 2">
        <option>Option 1...</option>
        <option>Option 2...</option>
        <option>Option 3...</option>
    <optgroup label="Category 3">
        <option>Option 1...</option>
        <option>Option 2...</option>
        <option>Option 3...</option>
Hope it helps.


Related posts from
Title Type Date Posted
11 Percent of Americans Believe HTML is an STD, and Other Surprising Findings Around Tech Jargon Blog 2014-03-04 15:36:03
.Club Domains Signs ICANN Registry Agreement Web Hosting News 2013-11-11 16:00:44
Linode Updates Cloud-Based Load Balancer Service with SSL Support Web Hosting News 2013-11-08 11:50:09
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
cPanel Conference 2012: What's New with cPanel and WHM with Ken Power Web Hosting News 2012-11-12 13:54:56

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?