Home Menu

IMAGE

The image element indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system.

SYNTAX

<image attribute-name="attribute-value"/>
NAME VALUE INITIAL DESCRIPTION
crossorigin [ anonymous | use-credentials ]? anonymous credentials
height <length-percentage> | auto auto height of the element
href URL (none) URL reference to the element
preserveAspectRatio <align> <meetOrSlice>? xMidYMid meet indicates whether or not to force uniform scaling
width <length-percentage> | auto auto width of the element
x <length-percentage> 0 x coordinate of the element
y <length-percentage> 0 y coordinate of the element

EXAMPLES

ATTRIBUTE | HREF

ATTRIBUTE | X

ATTRIBUTE | Y

ATTRIBUTE | WIDTH

ATTRIBUTE | HEIGHT

ATTRIBUTE | PRESERVEASPECTRATIO | NONE

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMIN MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMIN SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMIN MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMIN SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMIN MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMIN SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMID MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMID SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMID MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMID SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMID MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMID SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMAX MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMINYMAX SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMAX MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMIDYMAX SLICE

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMAX MEET

ATTRIBUTE | PRESERVEASPECTRATIO | XMAXYMAX SLICE SLICE

ATTRIBUTE | CROSSORIGIN | ANONYMOUS

ATTRIBUTE | CROSSORIGIN | USE-CREDENTIALS

PROPERTY | X

PROPERTY | Y

PROPERTY | WIDTH

PROPERTY | HEIGHT

INTERNAL

path

text

textPath

tspan

EXTERNAL

World Wide Web Consortium (W3C)