webmaster resources tips and articles
webmaster information

Path = Home : Form Tips : How To Create Default Form Options

How To Create Default Form Options

 

The <option> tag is used to create selection choices listed in a drop down box of a form.

You can set a default choice, by adding the word "selected" to the option tag.

<select>
<option selected>Choice 1
<option>Choice 2
<option>Choice 3
<option>Choice 4
</select>

 

 

© janim.net 2000 - 2007 All rights reserved