![]() |
VOOZH | about |
SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas.
The SVG <tspan> element defines a subtext within a <text> element or another <tspan> element. It allows for adjustment of the style and/or position of that subtext as per user needs.
Syntax:
<tspan attributes="" > Subtext </tspan>
Attribute:
Example 1:
Output:
π Image
Example 2: Fading the color of the rectangle
Output:
Browsers Supported: The following browsers are supported by this SVG element: