Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering a guide to professional web site design, web page design and web design guidelines

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

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.

<SELECT>
<OPTION>option 1
<OPTION SELECTED>option 2
<OPTION>option 3
<OPTION>option 4
<OPTION>option 5
<OPTION>option 6
</SELECT>

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.

 More Web Design Tips