how can implement the drop down list in Html?

by 10 replies
12
Hi,

I have problem please solved the my problem.
#programming #drop #html #implement #list
  • That's an understatement if I've ever seen one.
    • [1] reply
  • I can't believe you expect someone to help you.
  • google CSS dropdown menu

    @mean dudes: it's not his fault English is not his primary language.
  • Try this:

    HTML Code:
    <select>
      <option value="volvo">Volvo</option>
      <option value="saab">Saab</option>
      <option value="mercedes">Mercedes</option>
      <option value="audi">Audi</option>
    </select>
  • Code:
    <html>
    <head>
    <title>My Page</title>
    </head>
    <body>
    <form name="myform" action="http://www.mydomain.com/myformhandler.cgi" method="POST">
    <div align="center">
    <select name="mydropdown">
    <option value="Milk">Fresh Milk</option>
    <option value="Cheese">Old Cheese</option>
    <option value="Bread">Hot Bread</option>
    </select>
    </div>
    </form>
    </body>
    </html>
    • [1] reply
    • You can also try this......

      <html>
      <body>

      <select>
      <option>--select--</option>
      <option>Volvo</option>
      <option>Saab</option>
      <option>Mercedes</option>
      <option>Audi</option>
      </select>

      </body>
      </html>
      • [1] reply
  • Hi,

    All of friends who gave the answer with code of drop down list is good so the answer of my will be also same for drop down list in HTML.

Next Topics on Trending Feed