SVG y1 Attribute
The y1 attribute is used to specify the first y-coordinate for drawing an SVG element that requires more than one coordinate.
Elements that are using this attribute:
y1 = "y1-coordinate"
- length: :Length at which we want to set the y1-coordinate.
- percentage: Percentage at which we want to set the y1-coordinate.
We will use the y1 attribute for setting the y1-coordinate.
Example 1: In this example we will use the length value.
Example 2: In this example we will use the percentage value.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.