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
G
H
I
K
L
M
N
O
P
R
S
scaleseedshape-renderingslopespacingspecularConstantspecularExponentspeedspreadMethodstartOffsetstdDeviationstemhstemvstitchTilesstop-colorstop-opacitystrikethrough-positionstrikethrough-thicknessstringstrokestroke-dasharraystroke-dashoffsetstroke-linecapstroke-linejoinstroke-miterlimitstroke-opacitystroke-widthstylesurfaceScalesystemLanguage
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-baselinebaseline-shiftclipclip-pathclip-rulecolorcolor-interpolationcolor-interpolation-filterscolor-profilecolor-renderingcursorddirectiondisplaydominant-baselineenable-backgroundfillfill-opacityfill-rulefilterflood-colorflood-opacityfont-familyfont-sizefont-size-adjustfont-stretchfont-stylefont-variantfont-weightglyph-orientation-horizontalglyph-orientation-verticalimage-renderingkerningletter-spacinglighting-colormarker-endmarker-midmarker-startmaskopacityoverflowpointer-eventsshape-renderingstop-colorstop-opacitystrokestroke-dasharraystroke-dashoffsetstroke-linecapstroke-linejoinstroke-miterlimitstroke-opacitystroke-widthtext-anchortext-decorationtext-renderingtransformtransform-originunicode-bidivector-effectvisibilityword-spacingwriting-mode
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,dur,end,min,max,restart,repeatCount,repeatDur,fill - Attributs pour les valeurs de l'animation
-
calcMode,values,keyTimes,keySplines,from,to,by,autoReverse,accelerate,decelerate - Attributs pour les additions des animations
Attributs pour la gestion des évènements
onabortonactivateonbeginoncanceloncanplayoncanplaythroughonchangeonclickoncloseoncuechangeondblclickondragondragendondragenterondragleaveondragoverondragstartondropondurationchangeonemptiedonendonendedonerroronerroronfocusonfocusinonfocusoutoninputoninvalidonkeydownonkeypressonkeyuponloadonloadeddataonloadedmetadataonloadstartonmousedownonmouseenteronmouseleaveonmousemoveonmouseoutonmouseoveronmouseuponmousewheelonpauseonplayonplayingonprogressonratechangeonrepeatonresetonresizeonresizeonscrollonscrollonseekedonseekingonselectonshowonstalledonsubmitonsuspendontimeupdateontoggleonunloadonvolumechangeonwaiting