+ 1
Which <svg> element is used to create any shape that consists of straight lines only??
2 Answers
+ 2
SVG <line> tag is used to create lines.
Example:
<svg height="210" width="500">
  <line x1="0" y1="0" x2="200"y2="200"style="stroke:rgb(255,0,0);stroke-width:2" />
</svg>
Reminder: Mark this as best if you find this helpful.