New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Which svg element is used to make straight line
3 Answers
+ 6
Line?!
+ 6
<line> tag
more details
https://www.w3schools.com/graphics/svg_line.asp
+ 2
You should use <line>
Example:
<line x1="0" y1="0" x2="150" y2="150" />