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-linecap attribute</h2> <svg height="120" width="300" xmlns="http://www.w3.org/2000/svg"> <g fill="none" stroke="red" stroke-width="16"> <path stroke-linecap="butt" d="M10 20 l215 0" /> <path stroke-linecap="round" d="M10 50 l215 0" /> <path stroke-linecap="square" d="M10 80 l215 0" /> </g> Sorry, your browser does not support inline SVG. </svg> </body> </html>