scope

object scope extends Attr

th - This enumerated attribute defines the cells that the header (defined in the <a title="The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes." href="/en-US/docs/Web/HTML/Element/th"><code><th></code></a>) element relates to. It may have the following values:

  • <code>row</code>:  The header relates to all cells of the row it belongs to.
  • <code>col</code>: The header relates to all cells of the column it belongs to.
  • <code>rowgroup</code>: The header belongs to a rowgroup and relates to all of its cells. These cells can be placed to the right or the left of the header, depending on the value of the <code><a href="/en-US/docs/Web/HTML/Global_attributes/dir">dir</a></code> attribute in the <a title="The HTML <table> element represents tabular data — that is, information expressed via a two-dimensional data table." href="/en-US/docs/Web/HTML/Element/table"><code><table></code></a> element.
  • <code>colgroup</code>: The header belongs to a colgroup and relates to all of its cells.
  • <code>auto</code> td -  
trait Attr
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

Inherited types

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

Value members

Concrete methods

@inline
def :=(v: String): AttrPair[_scope_attr]
@inline
def :=(v: Option[String]): OptionalAttrPair[_scope_attr]