SVG初学者
无聊先画只小猪
<svg height="300" width="300" xmlns:xlink="http:''www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">
<circle id="c1" cx="100" cy="130" r="15" style="stroke:#333;fill:none;"></circle>
<circle id="c2" cx="200" cy="130" r="15" style="stroke:#333;fill:none;"></circle>
<circle id="c3" cx="108" cy="130" r="8" style="stroke:#333;fill:#333;"></circle>
<circle id="c4" cx="208" cy="130" r="8" style="stroke:#333;fill:#333;"></circle>
<ellipse id="e1" cx="150" cy="180" rx="50" ry="25" style="stroke:#333;fill:none;"></ellipse>
<ellipse id="e2" cx="130" cy="180" rx="10" ry="15" style="stroke:#333;fill:pink;"></ellipse>
<ellipse id="e3" cx="170" cy="180" rx="10" ry="15" style="stroke:#333;fill:pink;"></ellipse>
<path id="p1" d="M 64 100 L 50 60" style="stroke:#333;fill:none;"></path>
<path id="p2" d="M 50 60 L 98 65" style="stroke:#333;fill:none;"></path>
<path id="p3" d="M 201 65 L 250 50" style="stroke:#333;fill:none;"></path>
<path id="p4" d="M 250 50 L 236 100" style="stroke:#333;fill:none;"></path>
<ellipse id="e4" cx="50" cy="165" rx="25" ry="10" style="stroke:#333;fill:pink;"></ellipse>
<ellipse id="e5" cx="250" cy="165" rx="25" ry="10" style="stroke:#333;fill:pink;"></ellipse>
<circle id="c0" cx="150" cy="150" r="100" style="stroke:#333;fill:none;"></circle>
<text x="130" y="270" style="font-family:sans-serif;font-size:14pt;">小猪</text>
</svg>
效果图