Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>SVG stroke-width attribute</h2> <svg height="80" width="300" xmlns="http://www.w3.org/2000/svg"> <g fill="none" stroke="red"> <path stroke-width="2" d="M5 20 l215 0" /> <path stroke-width="4" d="M5 40 l215 0" /> <path stroke-width="6" d="M5 60 l215 0" /> </g> Sorry, your browser does not support inline SVG. </svg> </body> </html>