SVG attributes
Summary
SVG attributes
Usage
===Attribute Listing (by Category)===
Animation Event Attributes
These attributes are used to capture animation events.
Animation Attribute Target Attributes
Animation Timing Attributes
Animation Value Attributes
Animation Addition Attributes
Conditional Processing Attributes
Core Attributes
These attributes can be specified on any SVG element.
Document Event Attributes
These attributes are used to capture document events.
Filter primitive Attributes
Graphical Event Attributes
These attributes are used to capture interaction events.
- onactivate
- onclick
- onfocusin
- onfocusout
- onload
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
Presentation Attributes
- alignment-baseline
- baseline-shift
- clip
- clip-path
- clip-rule
- color
- color-interpolation
- color-interpolation-filters
- color-profile
- 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
- image-rendering
- kerning
- letter-spacing
- lighting-color
- marker-end
- marker-mid
- marker-start
- mask
- opacity
- overflow
- 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
- unicode-bidi
- visibility
- word-spacing
- writing-mode
Transfer Function Attributes
XLink Attributes
These attributes can be used for cross-links (“x”-links).