label

slinky.web.html.label$
object label extends Tag with Attr

The HTML <label> element represents a caption for an item in a user interface. menuitem - The name of the command as shown to the user. Required when a command attribute is not present. optgroup - The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used. menu - The name of the menu as shown to the user. Used within nested menus, to provide a label through which the submenu can be accessed. Must only be specified when the parent element is a <menu> in the context menu state. option - This attribute is text for the label indicating the meaning of the option. If the label attribute isn't defined, its value is that of the element text content. track - A user-readable title of the text track which is used by the browser when listing available text tracks.

Attributes

Graph
Supertypes
trait Attr
trait Tag
class Object
trait Matchable
class Any
Self type
label.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type attrType = _label_attr.type
type tagType = tag.type

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]

Attributes

Inherited from:
Attr

Value members

Concrete methods

def :=(v: String): AttrPair[_label_attr.type]
def :=(v: Option[String]): OptionalAttrPair[_label_attr.type]
def apply(mods: TagMod[tag.type]*): WithAttrs[tagType]