![]() |
VOOZH | about |
The <desc> element in SVG is used to provide an accessible text description to any of the available SVG elements whether it is a container or graphic element.
Syntax:
<desc></desc>Property Values: It does not have any property values.
Below given are a few examples of the function given above.
Example 1: The text inside the desc element is given in a circle element.
Output: Please note that the text is not shown in the output.
👁 ImageExample 2: The text inside the desc is given in a rectangle element.
Output:
👁 Image