HTML <svg> height Attribute
Example
<svg width="100" height="100">
<circle cx="50" cy="50" r="40" stroke="tomato" stroke-width="2" fill="black" />
</svg>
Meaning
The height attribute defines the vertical length of an element in the user coordinate system.
Standard Syntax
<svg height="length|percentage">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| length | Specifies the height in pixel. |
| percentage | Specifies the height in percentage. |