Appendix G: Attribute Index

This appendix is informative, not normative.

G.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.

Attribute Elements on which the attribute may be specified Anim.
accumulate animate, animateMotion, animateTransform
additive animate, animateMotion, animateTransform
amplitude feFuncA, feFuncB, feFuncG, feFuncR ✓
aria-activedescendant a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-atomic a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-autocomplete a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-busy a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-checked a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-colcount a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-colindex a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-colspan a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-controls a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-current a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-describedby a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-details a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-disabled a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-dropeffect a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-errormessage a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-expanded a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-flowto a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-grabbed a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-haspopup a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-hidden a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-invalid a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-keyshortcuts a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-label a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-labelledby a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-level a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-live a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-modal a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-multiline a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-multiselectable a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-orientation a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-owns a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-placeholder a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-posinset a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-pressed a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-readonly a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-relevant a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-required a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-roledescription a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-rowcount a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-rowindex a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-rowspan a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-selected a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-setsize a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-sort a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-valuemax a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-valuemin a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-valuenow a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
aria-valuetext a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
attributeName animate, animateTransform, set
autofocus a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
azimuth feDistantLight ✓
baseFrequency feTurbulence ✓
begin animate, animateMotion, animateTransform, set
bias feConvolveMatrix ✓
by animate, animateMotion, animateTransform
calcMode animate, animateMotion, animateTransform
class a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view ✓
clipPathUnits clipPath ✓
crossorigin feImage
crossorigin image ✓
crossorigin script ✓
cx radialGradient ✓
cy radialGradient ✓
diffuseConstant feDiffuseLighting ✓
divisor feConvolveMatrix ✓
download a
dur animate, animateMotion, animateTransform, set
dx feDropShadow ✓
dx feOffset ✓
dx text ✓
dx tspan ✓
dy feDropShadow ✓
dy feOffset ✓
dy text ✓
dy tspan ✓
edgeMode feConvolveMatrix ✓
edgeMode feGaussianBlur ✓
elevation feDistantLight ✓
end animate, animateMotion, animateTransform, set
exponent feFuncA, feFuncB, feFuncG, feFuncR ✓
fill animate, animateMotion, animateTransform, set
filterUnits filter ✓
fr radialGradient ✓
from animate, animateMotion, animateTransform
fx radialGradient ✓
fy radialGradient ✓
gradientTransform linearGradient ✓
gradientTransform radialGradient ✓
gradientUnits linearGradient ✓
gradientUnits radialGradient ✓
height feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence ✓
height filter ✓
height mask ✓
height pattern ✓
href a ✓
href animate, animateMotion, animateTransform, set
href animate, animateMotion, animateTransform, set
href feImage ✓
href image ✓
href linearGradient ✓
href mpath
href pattern ✓
href radialGradient ✓
href script
href textPath ✓
href use ✓
hreflang a
id a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
in feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feGaussianBlur, feMergeNode, feMorphology, feOffset, feSpecularLighting, feTile ✓
in2 feBlend ✓
in2 feComposite ✓
in2 feDisplacementMap ✓
intercept feFuncA, feFuncB, feFuncG, feFuncR ✓
k1 feComposite ✓
k2 feComposite ✓
k3 feComposite ✓
k4 feComposite ✓
kernelMatrix feConvolveMatrix ✓
kernelUnitLength feConvolveMatrix ✓
kernelUnitLength feDiffuseLighting ✓
kernelUnitLength feSpecularLighting ✓
keyPoints animateMotion
keySplines animate, animateMotion, animateTransform
keyTimes animate, animateMotion, animateTransform
lang a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
lengthAdjust text, textPath, tspan ✓
limitingConeAngle feSpotLight ✓
markerHeight marker ✓
markerUnits marker ✓
markerWidth marker ✓
maskContentUnits mask ✓
maskUnits mask ✓
max animate, animateMotion, animateTransform, set
media style
method textPath ✓
min animate, animateMotion, animateTransform, set
mode feBlend ✓
numOctaves feTurbulence ✓
offset feFuncA, feFuncB, feFuncG, feFuncR ✓
offset stop ✓
onabort svg
onafterprint
onbeforeprint
onbegin animate, animateMotion, animateTransform, set
oncancel a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oncanplay a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oncanplaythrough a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onchange a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onclick a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onclose a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oncopy a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oncuechange a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oncut a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondblclick a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondrag a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragend a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragenter a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragexit a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragleave a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragover a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondragstart a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondrop a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ondurationchange a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onemptied a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onend animate, animateMotion, animateTransform, set
onended a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onerror a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onerror svg
onfocus a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onhashchange
oninput a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
oninvalid a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onkeydown a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onkeypress a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onkeyup a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onload a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onloadeddata a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onloadedmetadata a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onloadstart a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmessage
onmousedown a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmouseenter a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmouseleave a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmousemove a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmouseout a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmouseover a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onmouseup a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onoffline
ononline
onpagehide
onpageshow
onpaste a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onpause a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onplay a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onplaying a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onpopstate
onprogress a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onratechange a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onrepeat animate, animateMotion, animateTransform, set
onreset a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onresize a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onresize svg
onscroll a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onscroll svg
onseeked a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onseeking a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onselect a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onshow a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onstalled a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onstorage
onsubmit a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onsuspend a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ontimeupdate a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
ontoggle a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onunload
onunload svg
onvolumechange a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onwaiting a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
onwheel a, animate, animateMotion, animateTransform, circle, defs, desc, ellipse, foreignObject, g, image, line, linearGradient, marker, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
operator feComposite ✓
operator feMorphology ✓
order feConvolveMatrix ✓
orient marker ✓
origin animateMotion
path animateMotion
path textPath ✓
pathLength circle, ellipse, line, path, polygon, polyline, rect ✓
patternContentUnits pattern ✓
patternTransform pattern ✓
patternUnits pattern ✓
ping a
playbackorder svg
points polygon ✓
points polyline ✓
pointsAtX feSpotLight ✓
pointsAtY feSpotLight ✓
pointsAtZ feSpotLight ✓
preserveAlpha feConvolveMatrix ✓
preserveAspectRatio feImage, image, marker, pattern, svg, symbol, view ✓
primitiveUnits filter ✓
r radialGradient ✓
radius feMorphology ✓
refX marker ✓
refX symbol ✓
refY marker ✓
refY symbol ✓
referrerpolicy a
referrerpolicy image
referrerpolicy script
rel a
repeatCount animate, animateMotion, animateTransform, set
repeatDur animate, animateMotion, animateTransform, set
requiredExtensions a, animate, animateMotion, animateTransform, circle, clipPath, ellipse, foreignObject, g, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, use
restart animate, animateMotion, animateTransform, set
result feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence ✓
role a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, symbol, text, textPath, tspan, use, view
rotate animateMotion
rotate text ✓
rotate tspan ✓
scale feDisplacementMap ✓
seed feTurbulence ✓
side textPath ✓
slope feFuncA, feFuncB, feFuncG, feFuncR ✓
spacing textPath ✓
specularConstant feSpecularLighting ✓
specularExponent feSpecularLighting ✓
specularExponent feSpotLight ✓
spreadMethod linearGradient ✓
spreadMethod radialGradient ✓
startOffset textPath ✓
stdDeviation feDropShadow ✓
stdDeviation feGaussianBlur ✓
stitchTiles feTurbulence ✓
style a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
surfaceScale feDiffuseLighting ✓
surfaceScale feSpecularLighting ✓
systemLanguage a, animate, animateMotion, animateTransform, circle, clipPath, ellipse, foreignObject, g, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, use
tabindex a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
tableValues feFuncA, feFuncB, feFuncG, feFuncR ✓
target a ✓
targetX feConvolveMatrix ✓
targetY feConvolveMatrix ✓
textLength text ✓
textLength textPath, tspan ✓
timelinebegin svg
title style
to animate, animateMotion, animateTransform
to set
transform svg ✓
type a
type animateTransform
type feColorMatrix ✓
type feFuncA, feFuncB, feFuncG, feFuncR ✓
type feTurbulence ✓
type script
type style
values animate, animateMotion, animateTransform
values feColorMatrix ✓
viewBox marker, pattern, svg, symbol, view ✓
width feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence ✓
width filter ✓
width mask ✓
width pattern ✓
x feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence ✓
x fePointLight ✓
x feSpotLight ✓
x filter ✓
x mask ✓
x pattern ✓
x text ✓
x tspan ✓
x1 line ✓
x1 linearGradient ✓
x2 line ✓
x2 linearGradient ✓
xChannelSelector feDisplacementMap ✓
xlink:href a, image, linearGradient, pattern, radialGradient, script, textPath, use
xlink:href feImage ✓
xlink:title a, image, linearGradient, pattern, radialGradient, script, textPath, use
xml:space a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view
y feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDropShadow, feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence ✓
y fePointLight ✓
y feSpotLight ✓
y filter ✓
y mask ✓
y pattern ✓
y text ✓
y tspan ✓
y1 line ✓
y1 linearGradient ✓
y2 line ✓
y2 linearGradient ✓
yChannelSelector feDisplacementMap ✓
z fePointLight ✓
z feSpotLight ✓

G.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.

alignment-baseline, baseline-shift, clip, clip-path, clip-rule, color, color-interpolation, color-interpolation-filters, cursor, direction, display, dominant-baseline, 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, image-rendering, letter-spacing, lighting-color, marker-end, marker-mid, marker-start, mask, mask-type, opacity, overflow, paint-order, path-length, pointer-events, shape-rendering, stop-color, stop-opacity, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, text-decoration, text-rendering, transform, transform-origin, unicode-bidi, vector-effect, visibility, word-spacing and writing-mode