hosted by liquidweb


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

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
  #1  
Old
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: http://thrifty.unrealwebdev.com/dropmenu.gif

Any help would be appreciated.

Thanks!



Sponsored Links
  #2  
Old
Newbie
 
Join Date: Apr 2007
Posts: 11
That would be HTML's OPTGROUP element:

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

Reply

Related posts from TheWhir.com
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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?