Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The VeryTime,Stay informed and read the latest news today from The VeryTime, the definitive source.

How to Write HTML for a Drop-Down Button

15
    • 1). Log in to your Web server.

    • 2). Locate the HTML page on which you will include the drop-down button.

    • 3). Click your cursor in the section of the page where you want to place the drop-down button. This will be somewhere in between the opening <body> and closing </body> tags.

    • 4). Insert the following code:

      <form name="myform" method="POST">

      <div align="center">

      <select name="mydropdown">

      <option value="Milk">Milk</option>

      <option value="Cheese">Cheese</option>

      <option value="Bread">Bread</option>

      </select>

      </div>

      </form>

    • 5). Replace "Milk," "Cheese" and "Bread" with the options you want to appear in the drop-down menu.

    • 6). Publish the page.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.