![]() |
VOOZH | about |
The stroke attribute is an attribute defining the color used to paint the outline of the shape
Syntax:
stroke= "color"
Attribute Values:
We will use the stroke attribute for setting the color of the element.
Example 1: In this example, we will use the stroke attribute for setting the color of circle element.
Output:
👁 ImageExample 2: In this example, we will use the stroke attribute for setting the color of rect element.
Output:
👁 Image