iTechtalk » Tutorials » Programming » Drop Down Menu in Html

Reply
Old 06-15-2009, 01:37 PM   #1 (permalink)
 
Status: Junior Member
Join Date: Jun 2009
Posts: 29
Cool Drop Down Menu in Html



Drop Down Menu in Html




Open Notepad and type html code as given below



<HTML>


<HEAD>


<TITLE> Drop Down Menu in Html </TITLE>


</HEAD>


<BODY>


<P ALIGN = "LEFT"> <FONT COLOR = "#0000ff"> <B> Drop Down Menu </B> </P>


<sELECT NAME ="itemName" ALIGN = "LEFT">


<OPTION><-----Select------></OPTION>


<OPTION VALUE = "Rice"> Rice </OPTION>


<OPTION VALUE = "Dal"> Dal </OPTION>


<OPTION VALUE = "Masala"> Masala </OPTION>


<OPTION VALUE = "Refine Oil"> Refine Oil </OPTION>


<OPTION VALUE = "Sunflower Oil">Sunflower Oil</OPTION>


<OPTION VALUE = "Musterd Oil"> Musterd Oil </OPTION>


<OPTION VALUE = "Soya Bean"> Soya Bean </OPTION>


<OPTION VALUE = "Jeera"> Jeera </OPTION>


</SELECT>


</BODY>


</HTML>



Save your ducument in .html or .htm format.



Output:




Figure 1




Figure 2


Visit www.itechtalk.com
arup4 is offline   Reply With Quote
Reply

Bookmarks

Tags
drop down menu, html, html code, select tag, webpage

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 04:18 PM.
itechtalk




Content Relevant URLs by vBSEO 3.3.0