option

object option extends Tag

<span class="seoSummary">The <strong>HTML <code><option></code> element</strong> is used to define an item contained in a <a title="The HTML <select> element represents a control that provides a menu of options:" href="/en-US/docs/Web/HTML/Element/select"><code><select></code></a>, an <a title="The HTML <optgroup> element creates a grouping of options within a <select> element." href="/en-US/docs/Web/HTML/Element/optgroup"><code><optgroup></code></a>, or a <a title="The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls." href="/en-US/docs/Web/HTML/Element/datalist"><code><datalist></code></a> element. As such, <code><option></code> can represent menu items in popups and other lists of items in an HTML document.</span>

trait Tag
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

type tagType = tag

Value members

Concrete methods

@inline
def apply(mods: TagMod[tag]*): WithAttrs[tagType]