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 pattern Element</h2> <svg width="400" height="110" xmlns="http://www.w3.org/2000/svg"> <defs> <pattern id="patt1" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"> <circle cx="10" cy="10" r="10" fill="red" /> </pattern> </defs> <rect width="200" height="100" x="0" y="0" stroke="black" fill="url(#patt1)" /> Sorry, your browser does not support inline SVG. </svg> </body> </html>