The following image shows examples of the <line> element being used to create various lines on an SVG canvas.
SVG Image:
View standalone SVG