Table of Contents

About

The svg element is the root element of a SVG document.

Attribute

Sizing: Width and Height

The default value for Width and Height is auto and is equal to 100% length

The percentage refers to the size of the current SVG viewport.

Ref

Svg inside Svg

At any point in an SVG drawing, you can establish a new viewport into which all contained graphics is drawn by including an svg element inside SVG content.

Documentation / Reference