Référence des attributs SVG
Les éléments SVG peuvent être modifiés en utilisant des attributs qui spécifient comment les éléments doivent être traités ou présentés.
Ci-dessous, la liste de tous les attributs disponibles en SVG ainsi que des liens vers leur documentation pour vous aider à apprendre sur quels éléments ils s'appliquent et comment ils fonctionnent.
Attributs SVG de A à Z
A
B
C
D
E
F
fill
fill-opacity
fill-rule
filter
(en-US)filterUnits
(en-US)flood-color
(en-US)flood-opacity
(en-US)font-family
(en-US)font-size
(en-US)font-size-adjust
(en-US)font-stretch
(en-US)font-style
(en-US)font-variant
(en-US)font-weight
(en-US)format
from
(en-US)fr
(en-US)fx
(en-US)fy
(en-US)
G
H
I
K
L
M
N
O
P
R
S
scale
(en-US)seed
shape-rendering
(en-US)slope
(en-US)spacing
(en-US)specularConstant
(en-US)specularExponent
(en-US)speed
spreadMethod
(en-US)startOffset
(en-US)stdDeviation
(en-US)stemh
(en-US)stemv
(en-US)stitchTiles
(en-US)stop-color
(en-US)stop-opacity
(en-US)strikethrough-position
(en-US)strikethrough-thickness
(en-US)string
(en-US)stroke
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
style
surfaceScale
(en-US)systemLanguage
(en-US)
T
U
V
W
X
Y
Z
Attributs SVG par catégorie
Attributs génériques
- Attributs principaux
- Attributs de traitement conditionnel
Attributs xlink
Attributs de présentation
Note : Tous les attributs de présentation SVG peuvent être utilisés comme propriétés CSS.
alignment-baseline
(en-US)baseline-shift
(en-US)clip
(en-US)clip-path
clip-rule
(en-US)color
color-interpolation
(en-US)color-interpolation-filters
(en-US)color-profile
(en-US)color-rendering
cursor
(en-US)d
direction
(en-US)display
(en-US)dominant-baseline
(en-US)enable-background
(en-US)fill
fill-opacity
fill-rule
filter
(en-US)flood-color
(en-US)flood-opacity
(en-US)font-family
(en-US)font-size
(en-US)font-size-adjust
(en-US)font-stretch
(en-US)font-style
(en-US)font-variant
(en-US)font-weight
(en-US)glyph-orientation-horizontal
(en-US)glyph-orientation-vertical
(en-US)image-rendering
(en-US)kerning
(en-US)letter-spacing
(en-US)lighting-color
(en-US)marker-end
(en-US)marker-mid
(en-US)marker-start
(en-US)mask
opacity
(en-US)overflow
(en-US)pointer-events
(en-US)shape-rendering
(en-US)stop-color
(en-US)stop-opacity
(en-US)stroke
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
text-anchor
text-decoration
(en-US)text-rendering
(en-US)transform
transform-origin
(en-US)unicode-bidi
(en-US)vector-effect
(en-US)visibility
(en-US)word-spacing
(en-US)writing-mode
(en-US)
Attributs de filtre
Attributs d'animation
- Attributs pour l'élément cible de l'animation
- Attributs pour la cible de l'animation
- Attributs pour le minutage de l'animation
-
begin
(en-US),dur
(en-US),end
(en-US),min
(en-US),max
(en-US),restart
(en-US),repeatCount
(en-US),repeatDur
(en-US),fill
- Attributs pour les valeurs de l'animation
-
calcMode
(en-US),values
(en-US),keyTimes
(en-US),keySplines
(en-US),from
(en-US),to
(en-US),by
(en-US),autoReverse
,accelerate
,decelerate
- Attributs pour les additions des animations
Attributs pour la gestion des évènements
onabort
onactivate
onbegin
oncancel
oncanplay
oncanplaythrough
onchange
onclick
onclose
oncuechange
ondblclick
ondrag
ondragend
ondragenter
ondragleave
ondragover
ondragstart
ondrop
ondurationchange
onemptied
onend
onended
onerror
onerror
onfocus
onfocusin
onfocusout
oninput
oninvalid
onkeydown
onkeypress
onkeyup
onload
onloadeddata
onloadedmetadata
onloadstart
onmousedown
onmouseenter
onmouseleave
onmousemove
onmouseout
onmouseover
onmouseup
onmousewheel
onpause
onplay
onplaying
onprogress
onratechange
onrepeat
onreset
onresize
onresize
onscroll
onscroll
onseeked
onseeking
onselect
onshow
onstalled
onsubmit
onsuspend
ontimeupdate
ontoggle
onunload
onvolumechange
onwaiting