Home Menu

foreignObject

The foreignObject SVG element specifies inclusion of elements in a non-SVG namespace which is rendered within a region of the SVG graphic using other user agent processes.

The included foreign graphical content is subject to SVG transformations, filters, clipping, masking and compositing.

Syntax

Attributes

height

Specifies the height of the element.

Value
auto | <length-percentage>
Default
auto

width

Specifies the width of the element.

Value
auto | <length-percentage>
Default
auto

x

Specifies the x-coordinate of the element.

Value
<length-percentage>
Default
0

y

Specifies the y-coordinate of the element.

Value
<length-percentage>
Default
0

Examples

height

auto

<length-percentage>

width

auto

<length-percentage>

x

<length-percentage>

y

<length-percentage>

Internal

image

External

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms