![]() |
VOOZH | about |
The x1 attribute is used to specify the first x-coordinate for drawing an SVG element that requires more than one coordinate.
Elements that are using this attribute:
Syntax:
x1 = "x1-coordinate"
Attribute Values:
We will use the x1 attribute for setting the x1-coordinate.
Example 1: In this example, we will use the length value.
Output:
👁 ImageExample 2: In this example, we will use the percentage value.
Output:
👁 Image