Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

width

filter

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

<length-percentage>

Default

120%

Examples

<length-percentage>

filterUnits

height

primitiveUnits

x

y

World Wide Web Consortium (W3C)

foreignObject

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

height

x

y

World Wide Web Consortium (W3C)

image

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

crossorigin

height

href

preserveAspectRatio

x

y

World Wide Web Consortium (W3C)

mask

Description

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

Syntax

Value

<length-percentage>

Default

120%

Examples

<length-percentage>

height

maskContentUnits

maskUnits

x

y

World Wide Web Consortium (W3C)

pattern

Description

The width SVG attribute specifies the width of the pattern.

Syntax

Value

<length-percentage>

Default

0

Examples

<length-percentage>

height

href

patternContentUnits

patternTransform

patternUnits

viewBox

x

y

World Wide Web Consortium (W3C)

rect

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

height

pathLength

rx

ry

x

y

World Wide Web Consortium (W3C)

svg

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

height

preserveAspectRatio

transform

viewBox

x

y

zoomAndPan

World Wide Web Consortium (W3C)

symbol

Description

The width SVG attribute specifies the width of the element.

Syntax

Value

auto | <length-percentage>

Default

auto

Examples

auto

<length-percentage>

height

preserveAspectRatio

refX

refY

viewBox

x

y

World Wide Web Consortium (W3C)

use

Description

The width SVG attribute specifies the width 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>

height

href

x

y

World Wide Web Consortium (W3C)

HomeMenu