Home » , » HTML Forms: Creating a Default Option

HTML Forms: Creating a Default Option

The HTML OPTION tag is used to create options listed in a drop down box of a web page form.

You can select a default option by adding the word "selected" within your OPTION tag.
<OPTION>option 1
<OPTION>option 3
<OPTION>option 4
<OPTION>option 5
<OPTION>option 6
Browser View:

Creating a default option within your drop down box is a great way to display an option that is most-likely to be selected. However, if your visitor prefers another option, they can easily select another option.
Share this article :


Post a Comment

Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger