Grafik oben  
Online-Ressourcen:
      SVG Tutorial | AGB-(c) | aptico | Pohlmann
Schatten

SVG Tutorial

  index  |  elemente

das svg-Element

Mögliche Kind-Elemente

desc | title | metadata | defs | path | text | rect | circle | ellipse | line | polyline | polygon | use | image | svg | g | view | switch | a | altGlyphDef | script | style | symbol | marker | clipPath | mask | linearGradient | radialGradient | pattern | filter | cursor | font | animate | set | animateMotion | animateColor | animateTransform | color-profile | font-face

Attribute

Name Anwendung Typ Standardwert mögliche Werte
xmlns fixed string http://www.w3.org/2000/svg -
externalResourcesRequired optional svg:Boolean false -
class optional svg:ClassList - -
style optional svg:StyleSheet - -
viewBox optional svg:ViewBoxSpec - -
preserveAspectRatio default svg:PreserveAspectRatioSpec xMidYMid meet -
zoomAndPan default string magnify disable
magnify
version fixed svg:Number 1.0 -
x optional svg:Coordinate 0 -
y optional svg:Coordinate 0 -
width optional svg:Length 100% -
height optional svg:Length 100% -
contentScriptType default svg:ContentType text/ecmascript -
contentStyleType default svg:ContentType text/css -

Attribute aus AttributGruppen Beschreibung im Tutorial

2.1 - SVG-Grafiken in Webdokumenten
3.2 - Grundgeruest einer SVG-Grafik
3.3 - Verschachtelung von SVG-Elementen
3.5 - Das Attribut viewBox
4.1 - Rechtecke - das rect-Element
16 - Scripting
16.4 - Methoden fuer den Zugriff auf Elemente
16.9 - Methoden zur Manipulation von Elementen/Knoten