HTML - Tags - <option>

#97 of 147

     <select name="ContactReason" value="question">
         <option value="question">Ask a question</option>
         <option value="bug">Report a bug</option>
         <option value="feedback">Send feedback</option>

The option element creates a value within a select list or an optgroup grouping.

A live example:

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath