SVG 2 – 11 February 2014 Top ⋅ Contents ⋅ Previous ⋅ Next ⋅ Elements ⋅ Attributes ⋅ Properties

Appendix J: Attribute Index

Contents

This appendix is informative, not normative.

J.1. Regular attributes

The following table lists all of the attributes defined in the SVG language, except for the presentation attributes, which are treated in the Presentation attributes section below. For each attribute, the elements on which the attribute may be specified is also given.

AttributeElements on which the attribute may be specifiedAnim.
accent-heightfont-face
accumulateanimate, animateMotion, animateTransform
additiveanimate, animateMotion, animateTransform
alphabeticfont-face
amplitudefeFuncA, feFuncB, feFuncG, feFuncR✓
arabic-formglyph
aria-activedescendanta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-atomica, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-autocompletea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-busya, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-checkeda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-controlsa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-describedata, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-describedbya, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-disableda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-dropeffecta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-expandeda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-flowtoa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-grabbeda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-haspopupa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-hiddena, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-invalida, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-labela, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-labelledbya, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-levela, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-livea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-multilinea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-multiselectablea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-orientationa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-ownsa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-posinseta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-presseda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-readonlya, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-relevanta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-requireda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-selecteda, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-setsizea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-sorta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-valuemaxa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-valuemina, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-valuenowa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
aria-valuetexta, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
ascentfont-face
attributeNameanimate, animateTransform, set
attributeTypeanimate, animateTransform, set
autoplayaudio✓
autoplayvideo✓
azimuthfeDistantLight✓
baseFrequencyfeTurbulence✓
baseProfilesvg
bboxfont-face
beginanimate, animateMotion, animateTransform, set
begindiscard
biasfeConvolveMatrix✓
byanimate, animateMotion, animateTransform
calcModeanimate, animateMotion, animateTransform
canvasHeightcanvas✓
canvasWidthcanvas✓
cap-heightfont-face
classa, altGlyph, audio, canvas, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter, font, foreignObject, g, glyph, glyphRef, hatch, hatchPath, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, missing-glyph, path, pattern, polygon, polyline, radialGradient, rect, solidColor, source, stop, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video✓
clipPathUnitsclipPath✓
controlsaudio✓
controlsvideo✓
crossoriginaudio✓
crossoriginvideo✓
cxcircle✓
cxellipse✓
cxradialGradient✓
cycircle✓
cyellipse✓
cyradialGradient✓
dglyph, missing-glyph
dhatchPath✓
dpath✓
dtextPath✓
defaulttrack✓
descentfont-face
diffuseConstantfeDiffuseLighting✓
divisorfeConvolveMatrix✓
duranimate, animateMotion, animateTransform, set
dxaltGlyph✓
dxfeDropShadow✓
dxfeOffset✓
dxglyphRef
dxtext✓
dxtref, tspan✓
dyaltGlyph✓
dyfeDropShadow✓
dyfeOffset✓
dyglyphRef
dytext✓
dytref, tspan✓
edgeModefeConvolveMatrix✓
elevationfeDistantLight✓
endanimate, animateMotion, animateTransform, set
exponentfeFuncA, feFuncB, feFuncG, feFuncR✓
fillanimate, animateMotion, animateTransform, set
filterResfilter✓
filterUnitsfilter✓
font-familyfont-face
font-sizefont-face
font-stretchfont-face
font-stylefont-face
font-variantfont-face
font-weightfont-face
formataltGlyph
formatglyphRef
frradialGradient✓
fragmentShaderfeCustom✓
frameHeightiframe✓
frameWidthiframe✓
fromanimate, animateMotion, animateTransform
fxradialGradient✓
fyradialGradient✓
g1hkern, vkern
g2hkern, vkern
glyph-nameglyph
glyphRefaltGlyph
glyphRefglyphRef
gradientTransformlinearGradient✓
gradientTransformmeshGradient✓
gradientTransformradialGradient✓
gradientUnitslinearGradient✓
gradientUnitsmeshGradient✓
gradientUnitsradialGradient✓
hangingfont-face
hatchContentUnitshatch✓
hatchTransformhatch✓
hatchUnitshatch✓
heightcanvas, iframe, image, video
heightfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence✓
heightfilter✓
heightforeignObject✓
heightmask✓
heightpattern✓
heightrect✓
heightsvg✓
heighttext✓
heightuse✓
horiz-adv-xfont
horiz-adv-xglyph, missing-glyph
horiz-origin-xfont
horiz-origin-yfont
hrefdiscard
hrefmarker✓
ida, altGlyph, altGlyphDef, altGlyphItem, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, cursor, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hatch, hatchPath, hkern, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, metadata, missing-glyph, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, solidColor, source, stop, style, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video, view, vkern
ideographicfont-face
infeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feGaussianBlur, feMorphology, feOffset, feSpecularLighting, feTile✓
in2feBlend✓
in2feComposite✓
in2feDisplacementMap✓
interceptfeFuncA, feFuncB, feFuncG, feFuncR✓
khkern, vkern
k1feComposite✓
k2feComposite✓
k3feComposite✓
k4feComposite✓
kernelMatrixfeConvolveMatrix✓
kernelUnitLengthfeConvolveMatrix✓
kernelUnitLengthfeDiffuseLighting✓
kernelUnitLengthfeSpecularLighting✓
keyPointsanimateMotion
keySplinesanimate, animateMotion, animateTransform
keyTimesanimate, animateMotion, animateTransform
kindtrack✓
labeltrack✓
langdesc, title
langglyph
lengthAdjusttext, textPath, tref, tspan✓
limitingConeAnglefeSpotLight✓
loopaudio✓
loopvideo✓
markerHeightmarker✓
markerUnitsmarker✓
markerWidthmarker✓
maskContentUnitsmask✓
maskUnitsmask✓
mathematicalfont-face
maxanimate, animateMotion, animateTransform, set
mediasource✓
mediastyle
mediagroupaudio✓
mediagroupvideo✓
methodtextPath✓
minanimate, animateMotion, animateTransform, set
modefeBlend✓
mutedaudio✓
mutedvideo✓
namefont-face-name
nameiframe✓
numOctavesfeTurbulence✓
offsetfeFuncA, feFuncB, feFuncG, feFuncR✓
offsethatchPath✓
offsetstop✓
onabortsvg
onbeginanimate, animateMotion, animateTransform, set
onclicka, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onendanimate, animateMotion, animateTransform, set
onerrorsvg
onfocusina, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onfocusouta, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onloada, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onloadanimate, animateMotion, animateTransform, set
onmousedowna, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onmousemovea, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onmouseouta, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onmouseovera, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onmouseupa, altGlyph, audio, canvas, circle, defs, ellipse, foreignObject, g, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video
onrepeatanimate, animateMotion, animateTransform, set
onresizesvg
onscrollsvg
onunloadsvg
onzoomsvg
operatorfeComposite✓
operatorfeMorphology✓
orderfeConvolveMatrix✓
orientmarker✓
orientationglyph
originanimateMotion
overline-positionfont-face
overline-thicknessfont-face
panose-1font-face
paramsfeCustom✓
pathanimateMotion
pathstop✓
pathLengthpath✓
patternContentUnitspattern✓
patternTransformpattern✓
patternUnitspattern✓
pitchhatch✓
playbackOrdersvg
pointspolygon✓
pointspolyline✓
pointsAtXfeSpotLight✓
pointsAtYfeSpotLight✓
pointsAtZfeSpotLight✓
positionmarker✓
postervideo✓
preloadaudio✓
preloadvideo✓
preserveAlphafeConvolveMatrix✓
preserveAspectRatiocanvas, feImage, iframe, image, marker, pattern, svg, symbol, video, view✓
primitiveUnitsfilter✓
rcircle✓
rradialGradient✓
radiusfeMorphology✓
refXmarker✓
refYmarker✓
repeatCountanimate, animateMotion, animateTransform, set
repeatDuranimate, animateMotion, animateTransform, set
requiredExtensionsa, altGlyph, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, discard, ellipse, foreignObject, g, iframe, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tref, tspan, use, video
requiredFeaturesa, altGlyph, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, discard, ellipse, foreignObject, g, iframe, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tref, tspan, use, video
restartanimate, animateMotion, animateTransform, set
resultfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence✓
rolea, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tref, tspan, use, video, view
rotatealtGlyph✓
rotateanimateMotion
rotatehatch✓
rotatetext✓
rotatetref, tspan✓
rxellipse✓
rxrect✓
ryellipse✓
ryrect✓
sandboxiframe✓
scalefeDisplacementMap✓
seamlessiframe✓
seedfeTurbulence✓
slopefeFuncA, feFuncB, feFuncG, feFuncR✓
slopefont-face
spacingtextPath✓
specularConstantfeSpecularLighting✓
specularExponentfeSpecularLighting✓
specularExponentfeSpotLight✓
spreadMethodlinearGradient✓
spreadMethodradialGradient✓
srcaudio✓
srciframe✓
srcsource✓
srctrack✓
srcvideo✓
srcdociframe✓
srclangtrack✓
startOffsettextPath✓
stdDeviationfeDropShadow✓
stdDeviationfeGaussianBlur✓
stemhfont-face
stemvfont-face
stitchTilesfeTurbulence✓
strikethrough-positionfont-face
strikethrough-thicknessfont-face
stringfont-face-format
stylea, altGlyph, audio, canvas, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter, font, foreignObject, g, glyph, glyphRef, hatch, hatchPath, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, missing-glyph, path, pattern, polygon, polyline, radialGradient, rect, solidColor, source, stop, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video
surfaceScalefeDiffuseLighting✓
surfaceScalefeSpecularLighting✓
systemLanguagea, altGlyph, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, discard, ellipse, foreignObject, g, iframe, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tref, tspan, use, video
tabindexa, altGlyph, altGlyphItem, audio, canvas, circle, cursor, discard, ellipse, foreignObject, g, hkern, iframe, image, line, path, polygon, polyline, rect, source, svg, switch, symbol, text, textPath, track, tref, tspan, use, video, view
tableValuesfeFuncA, feFuncB, feFuncG, feFuncR✓
targeta✓
targetXfeConvolveMatrix✓
targetYfeConvolveMatrix✓
textLengthtext✓
textLengthtextPath, tref, tspan✓
timelineBeginsvg
titleaudio
titleiframe
titlestyle
titletrack
titlevideo
toanimate, animateMotion, animateTransform
toset
typeanimateTransform
typefeColorMatrix✓
typefeFuncA, feFuncB, feFuncG, feFuncR✓
typefeTurbulence✓
typescript
typesource✓
typestyle
u1hkern, vkern
u2hkern, vkern
underline-positionfont-face
underline-thicknessfont-face
unicodeglyph
unicode-rangefont-face
units-per-emfont-face
v-alphabeticfont-face
v-hangingfont-face
v-ideographicfont-face
v-mathematicalfont-face
valuesanimate, animateMotion, animateTransform
valuesfeColorMatrix✓
versionsvg
vert-adv-yfont
vert-adv-yglyph, missing-glyph
vert-origin-xfont
vert-origin-xglyph, missing-glyph
vert-origin-yfont
vert-origin-yglyph, missing-glyph
vertexMeshfeCustom✓
vertexShaderfeCustom✓
viewBoxmarker, pattern, svg, symbol, view✓
viewTargetview
widthcanvas, iframe, image, video
widthfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence✓
widthfilter✓
widthforeignObject✓
widthmask✓
widthpattern✓
widthrect✓
widthsvg✓
widthtext✓
widthuse✓
widthsfont-face
xaltGlyph✓
xaudio, canvas, iframe, image, video
xcursor✓
xfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence✓
xfePointLight✓
xfeSpotLight✓
xfilter✓
xforeignObject✓
xglyphRef
xhatch✓
xmask✓
xmeshGradient✓
xpattern✓
xrect✓
xsvg✓
xtext✓
xtref, tspan✓
xuse✓
x-heightfont-face
x1line✓
x1linearGradient✓
x2line✓
x2linearGradient✓
xChannelSelectorfeDisplacementMap✓
xlink:actuatea
xlink:actuatealtGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xlink:arcrolea, altGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xlink:hrefa✓
xlink:hrefaltGlyph
xlink:hrefanimate, animateMotion, animateTransform, set
xlink:hrefcursor✓
xlink:hreffeImage✓
xlink:hreffilter✓
xlink:hreffont-face-uri
xlink:hrefglyphRef
xlink:hrefhatch✓
xlink:hrefimage✓
xlink:hreflinearGradient✓
xlink:hrefmeshGradient✓
xlink:hrefmpath
xlink:hrefpattern✓
xlink:hrefradialGradient✓
xlink:hrefscript
xlink:hreftextPath✓
xlink:hreftref✓
xlink:hrefuse✓
xlink:rolea, altGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xlink:showa
xlink:showaltGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xlink:titlea, altGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xlink:titlesource
xlink:typea, altGlyph, animate, animateMotion, animateTransform, cursor, feImage, filter, font-face-uri, glyphRef, hatch, image, linearGradient, meshGradient, mpath, pattern, radialGradient, script, set, textPath, tref, use
xml:basea, altGlyph, altGlyphDef, altGlyphItem, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, cursor, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hatch, hatchPath, hkern, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, metadata, missing-glyph, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, solidColor, source, stop, style, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video, view, vkern
xml:langa, altGlyph, altGlyphDef, altGlyphItem, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, cursor, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hatch, hatchPath, hkern, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, metadata, missing-glyph, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, solidColor, source, stop, style, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video, view, vkern
xml:spacea, altGlyph, altGlyphDef, altGlyphItem, animate, animateMotion, animateTransform, audio, canvas, circle, clipPath, cursor, defs, desc, discard, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, font, font-face, font-face-format, font-face-name, font-face-src, font-face-uri, foreignObject, g, glyph, glyphRef, hatch, hatchPath, hkern, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, metadata, missing-glyph, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, solidColor, source, stop, style, svg, switch, symbol, text, textPath, title, track, tref, tspan, use, video, view, vkern
yaltGlyph✓
yaudio, canvas, iframe, image, video
ycursor✓
yfeBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence✓
yfePointLight✓
yfeSpotLight✓
yfilter✓
yforeignObject✓
yglyphRef
yhatch✓
ymask✓
ymeshGradient✓
ypattern✓
yrect✓
ysvg✓
ytext✓
ytref, tspan✓
yuse✓
y1line✓
y1linearGradient✓
y2line✓
y2linearGradient✓
yChannelSelectorfeDisplacementMap✓
zfePointLight✓
zfeSpotLight✓
zoomAndPansvg, view

J.2. Presentation attributes

As described in the Styling chapter, for each property there exists a corresponding presentation attribute. The table below lists the presentation attributes and the elements on which they may be specified.

Since the plan is to allow all SVG elements to be stylable, we will likely allow all presentation attributes on all SVG elements, and this table can then be removed.

Presentation attributes Elements on which the attributes may be specified
alignment-baseline, writing-mode, buffered-rendering, clip, clip-path, clip-rule, color, color-interpolation, color-interpolation-filters, color-rendering, cursor, direction, display, dominant-baseline, enable-background, fill, fill-opacity, fill-rule, filter, flood-color, flood-opacity, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, glyph-orientation-horizontal, glyph-orientation-vertical, hanging-punctuation, hyphens, image-rendering, letter-spacing, lighting-color, line-break, line-height, marker-end, marker-mid, marker-pattern, baseline-shift, marker-start, mask, opacity, overflow, overflow-wrap, paint-order, pointer-events, shape-inside, shape-margin, shape-padding, shape-rendering, shape-outside, solid-color, solid-opacity, stop-color, stop-opacity, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, tab-size, text-align, text-anchor, text-decoration, text-indent, text-overflow, text-rendering, transform, unicode-bidi, vector-effect, visibility, white-space, word-break, word-spacing, word-wrap and marker-segment a, altGlyph, animate, audio, canvas, circle, clipPath, defs, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feCustom, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, filter, font, foreignObject, g, glyph, glyphRef, hatch, hatchPath, iframe, image, line, linearGradient, marker, mask, meshGradient, meshPatch, meshRow, missing-glyph, path, pattern, polygon, polyline, radialGradient, rect, solidColor, stop, svg, switch, symbol, text, textPath, tref, tspan, use and video
SVG 2 – 11 February 2014 Top ⋅ Contents ⋅ Previous ⋅ Next ⋅ Elements ⋅ Attributes ⋅ Properties