SVG LINE: ‹ line › element

The svg <line> element is used to draw line. Where the (X1, X2) Coordinates specifies the starting point and (X3, X4) Coordinates specifies the end point of line.

Here is a simple example of SVG Line element.

  Code

Output