+ 1

how to create line with the svg in html?

28th Apr 2017, 11:52 AM
Fahim Anzam Dip
Fahim Anzam Dip - avatar
2 Answers
+ 3
<svg height="210" width="500">   <line x1="0" y1="0" x2="200" y2="200"style="stroke:rgb(255,0,0);stroke-width:2" /> </svg> source: https://www.w3schools.com/graphics/svg_line.asp
28th Apr 2017, 1:57 PM
visph
visph - avatar
+ 1
With <line> ;)
28th Apr 2017, 12:22 PM
Thanh Le
Thanh Le - avatar