OptionElement ClassC# API
Represents an HTML option element within an HTML form.
Inheritance Hierarchy

System Object
  Facilita.Web HtmlElement
    Facilita.Web OptionElement

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public class OptionElement : HtmlElement

An HTML element is everything from the start tag to the end tag.

An OptionElement is used to define an available option in a drop-down list represented by a SelectElement.


<select name="drink">
<option value="lemonade">Lemonade</option>
<option value="coke">Coke</option>
<option value="pepsi">Pepsi</option>
<option value="tango">Tango</option>

When the containing Form is sent to the web server, a name/value pair will be sent which uses the name of the SelectElement and the value of the currently selected OptionElement.

See Also