height

object height extends Attr

img - The intrinsic height of the image in pixels. In <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML">HTML 4</a></span>, the height could be defined pixels or as a percentage. In <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML/HTML5">HTML5</a></span>, however, the value must be in pixels. embed - The displayed height of the resource, in <a class="external" href="https://drafts.csswg.org/css-values/#px">CSS pixels</a>.  -- (Absolute values only.  <a class="external" href="https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes">NO percentages</a>) canvas - The height of the coordinate space in CSS pixels. Defaults to 150. input - If the value of the <strong>type</strong> attribute is <code>image</code>, this attribute defines the height of the image displayed for the button. iframe - Indicates the height of the frame <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML/HTML5">HTML5</a></span> in CSS pixels, or <span class="inlineIndicator htmlVer htmlVerInline">HTML 4.01</span> in pixels or as a percentage. video - The height of the video's display area, in <a class="external" href="https://drafts.csswg.org/css-values/#px">CSS pixels</a>.  -- (Absolute values only.  <a class="external" href="https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes">NO percentages</a>) object - The height of the displayed resource, in <a class="external" href="https://drafts.csswg.org/css-values/#px">CSS pixels</a>.  -- (Absolute values only.  <a class="external" href="https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes">NO percentages</a>)

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[_height_attr]
@inline
def :=(v: Option[String]): OptionalAttrPair[_height_attr]