SVG basic shapes (continued)

previoustopnext

 <?xml version="1.0"?>
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG August 1999//EN"
 "http://www.w3.org/Graphics/SVG/SVG-19990812.dtd">
 <svg width="4in" height="3in">
     <rect x="20" y="30" width="50" height="90"/>
     <ellipse cx="90" cy="80" rx="45" ry="65/>
     <polygon points="20,20 50,100 200,80 70,300"/>
     <path d="M 20,20 L 50,100 200,80 70,300 z"/>
 </svg>

Chris Lilley

W3C