![]() |
VOOZH | about |
The visibility attribute allows you to control the visibility of graphical elements. It has effect only on the following elements <a>, <altGlyph>, <audio>, <canvas>, <circle>, <ellipse>, <foreignObject>, <iframe>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath>, <tref>, <tspan>, <video>
Syntax:
visibility = visible | hidden | collapse
Attribute Values: The visibility attribute accepts the values mentioned above and described below
Example 1: Below is the example that illustrates the use of the visibility attribute.
Output:
👁 ImageExample 2: Below is the example that illustrates the use of the visibility attribute.
Output:
👁 Image