Menu Home

height

osbo.com | SVG | Attributes | height

filter

The height SVG attribute specifies the height of the element.

Syntax

Value

<length-percentage>

Default

120%

Examples

<length-percentage>

Internal

filterUnits

primitiveUnits

width

x

y

External

World Wide Web Consortium (W3C)

foreignObject

The height SVG attribute specifies the height of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

width

x

y

External

World Wide Web Consortium (W3C)

rect

The height SVG attribute specifies the height of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

crossorigin

href

preserveAspectRatio

width

x

y

External

World Wide Web Consortium (W3C)

mask

The height SVG attribute specifies the height of the largest possible offscreen buffer.

Syntax

Value

<length-percentage>

Default

120%

Examples

<length-percentage>

Internal

maskContentUnits

maskUnits

width

x

y

External

World Wide Web Consortium (W3C)

pattern

The height SVG attribute specifies the height of the pattern.

Syntax

Value

<length-percentage>

Default

0

Examples

<length-percentage>

Internal

href

patternContentUnits

patternTransform

patternUnits

viewBox

width

x

y

External

World Wide Web Consortium (W3C)

rect

The height SVG attribute specifies the height of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

pathLength

rx

ry

width

x

y

External

World Wide Web Consortium (W3C)

svg

The height SVG attribute specifies the height of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

preserveAspectRatio

transform

viewBox

width

x

y

zoomAndPan

External

World Wide Web Consortium (W3C)

symbol

The height SVG attribute specifies the height of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

preserveAspectRatio

refX

refY

viewBox

width

x

y

External

World Wide Web Consortium (W3C)

use

The height SVG attribute specifies the height of the element.

This only has an effect if the referenced element defines a viewport.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

Internal

href

width

x

y

External

World Wide Web Consortium (W3C)