SVG Line in HTML
SVG Line
The SVG < line> Tag is used inside the SVG element to create a line.
Essential attributes in < line > Tag are:-
- The x1 attribute defines the starting of the line on the x-axis
- The y1 attribute defines the starting of the line on the y-axis
- The x2 attribute defines the ending of the line on the x-axis
- The y2 attribute defines the ending of the line on the y-axis
Code Explanation
All Tutorials related to SVG Tutorials
SVG Intro
SVG & HTML
SVG Circle
SVG Rectangle
SVG Eclipse
SVG Line
SVG Polygon
SVG Polyline
SVG Path
SVG Text
SVG Stroke
SVG Blur Filter
SVG Drop Shadow Filter
SVG Linear Gradient
SVG Radial Gradients in HTML