Scalable Vector Graphics

svg

The svg element defines an insertion point for graphic drawing declared using the SVG language.

Properties

height
The height of the SVG viewport visible area.
Specify the height using "em", "ex", "px", "pt", "pc", "cm", "mm", "in".
width
The width of the SVG viewport visible area.
Specify the width using "em", "ex", "px", "pt", "pc", "cm", "mm", "in".
viewBox
A redefinition of the height and width values into a new coordinate system. All subordinate elements will use the new coordinate system.
Define this using four space-separated integers: left, top, width, height.

Example

svg *width=540 *height=*270 *viewBox="0 0 200 100" {
...
}
Internal SVG coordinates of: x from 0 to 200, and y from 0 to 100.
0

semantax > media-embed > svgScalable Vector Graphics

🔗 🔎